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 Events from '@/nostr/Events';
import Key from '@/nostr/Key'; import Key from '@/nostr/Key';
import { RouteProps } from '@/views/types.ts'; import { RouteProps } from '@/views/types.ts';
import View from '@/views/View.tsx';
import Feed from '../../components/feed/Feed'; import Feed from '../../components/feed/Feed';
import Session from '../../nostr/Session'; import Session from '../../nostr/Session';
@ -60,13 +61,15 @@ const Notifications: React.FC<RouteProps> = () => {
}, [updateNotificationsLastOpened]); }, [updateNotificationsLastOpened]);
return ( return (
<Feed <View>
key="notifications" <Feed
showDisplayAs={false} key="notifications"
emptyMessage={t('no_notifications_yet')} showDisplayAs={false}
filterOptions={filterOptions} emptyMessage={t('no_notifications_yet')}
fetchEvents={fetchEvents} filterOptions={filterOptions}
/> fetchEvents={fetchEvents}
/>
</View>
); );
}; };