Skip to content

Commit

Permalink
fix: wrong classname
Browse files Browse the repository at this point in the history
  • Loading branch information
lauti7 committed Dec 7, 2023
1 parent 8384bdb commit 5220dab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Notifications/NotificationsFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ export default function NotificationsFeed({
unreadNotifications={unreadNotifications}
onChangeTab={onChangeTab}
activeTab={activeTab}
isModal
/>
</div>
</Modal>
Expand Down Expand Up @@ -325,13 +326,15 @@ const Feed = ({
previousNotifications,
readNotifications,
activeTab,
isModal,
onChangeTab
}: {
unreadNotifications: DCLNotification[]
previousNotifications: DCLNotification[]
readNotifications: DCLNotification[]
locale: NotificationLocale
activeTab: NotificationActiveTab
isModal?: boolean
onChangeTab: (
e: React.MouseEvent<HTMLDivElement, MouseEvent>,
newActiveTab: NotificationActiveTab
Expand All @@ -356,7 +359,7 @@ const Feed = ({
{i18N[locale].feed.tabs.read}
</Tabs.Tab>
</Tabs>
<div className="dcl notifications-feed-modal__list-container">
<div className={`dcl ${isModal ? "notifications-feed-modal__list-container" : "notifications-feed__list-container"}`}>
<div className="dcl notifications-feed__list">
{activeTab == 'newest' ? (
<>
Expand Down

0 comments on commit 5220dab

Please sign in to comment.