mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-10-18 14:13:21 +00:00
notifications view sidebar
This commit is contained in:
parent
ab95376df4
commit
20a498648b
@ -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>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user