1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

notifications: added tabs to notification screen

This commit is contained in:
Fedor Katurov 2023-03-16 11:35:31 +06:00
parent 7135d06673
commit f9e0ecdd0c
10 changed files with 148 additions and 21 deletions

View file

@ -1,6 +1,6 @@
import React, { FC, useEffect } from 'react';
import { FC, useEffect } from 'react';
import { LoaderCircle } from '~/components/input/LoaderCircle';
import { LoaderScreen } from '~/components/input/LoaderScreen';
import { NotificationComment } from '~/components/notifications/NotificationComment';
import { useNotificationsList } from '~/hooks/notifications/useNotificationsList';
import { useNotifications } from '~/utils/providers/NotificationProvider';
@ -18,7 +18,7 @@ const NotificationList: FC<NotificationListProps> = () => {
}, []);
if (isLoading) {
return <LoaderCircle />;
return <LoaderScreen align="top" />;
}
return (