notifications view sidebar

This commit is contained in:
Martti Malmi 2023-08-21 17:49:46 +03:00
parent ab95376df4
commit 20a498648b

View File

@ -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';
@ -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>
);
};