Skip to content

Commit

Permalink
notifications view sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalmi committed Aug 21, 2023
1 parent ab95376 commit 20a4986
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/js/views/feeds/Notifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import EventDB from '@/nostr/EventDB';
import Events from '@/nostr/Events';
import Key from '@/nostr/Key';
import { RouteProps } from '@/views/types.ts';
import View from '@/views/View.tsx';

import Feed from '../../components/feed/Feed';
import Session from '../../nostr/Session';
Expand Down Expand Up @@ -60,13 +61,15 @@ const Notifications: React.FC<RouteProps> = () => {
}, [updateNotificationsLastOpened]);

return (
<Feed
key="notifications"
showDisplayAs={false}
emptyMessage={t('no_notifications_yet')}
filterOptions={filterOptions}
fetchEvents={fetchEvents}
/>
<View>
<Feed
key="notifications"
showDisplayAs={false}
emptyMessage={t('no_notifications_yet')}
filterOptions={filterOptions}
fetchEvents={fetchEvents}
/>
</View>
);
};

Expand Down

0 comments on commit 20a4986

Please sign in to comment.