mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 12:40:08 +00:00
feat: responsive header, search boxes (#10)
This commit is contained in:
@@ -33,7 +33,8 @@ export const NotificationProvider: React.FC<NotificationProviderProps> = ({ chil
|
||||
(async () => {
|
||||
try {
|
||||
const n = await getNotification();
|
||||
setNotifier(n);
|
||||
const nData = n.map(({ id, name }) => ({ id, name }));
|
||||
setNotifier(nData);
|
||||
} catch (error) {
|
||||
setNotifier(undefined);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user