Skip to content

Commit

Permalink
TW-1101 Fix described bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
keshan3262 committed Jan 9, 2024
1 parent 64c69eb commit fbad15f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/atoms/partners-promotion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export const PartnersPromotion: FC<Props> = memo(({ variant, id }) => {
<button
className="absolute top-2 right-4 h-6 w-6 z-10 bg-blue-500 rounded-circle"
onClick={handleClosePartnersPromoClick}
title={t('hideAd')}
>
<CloseIcon className="w-4 h-4 m-auto" style={{ strokeWidth: 3 }} />
</button>
Expand Down
3 changes: 2 additions & 1 deletion src/app/store/partners-promotion/reducers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ export const partnersPromotionRucer = createReducer(partnersPromotionInitialStat
}));
builder.addCase(togglePartnersPromotionAction, (state, { payload }) => ({
...state,
shouldShowPromotion: payload
shouldShowPromotion: payload,
promotionHidingTimestamps: {}
}));

builder.addCase(hidePromotionAction, (state, { payload: { id: pathname, timestamp } }) => {
Expand Down

0 comments on commit fbad15f

Please sign in to comment.