refactor: fetch notifications over graphql query

This commit is contained in:
Ali BARIN
2023-08-28 20:44:55 +00:00
parent 4d4091adcc
commit df24bac913
13 changed files with 71 additions and 33 deletions

View File

@@ -17,7 +17,7 @@ interface INotification {
export default function Updates(): React.ReactElement {
const formatMessage = useFormatMessage();
const notifications = useNotifications();
const { notifications } = useNotifications();
return (
<Box sx={{ py: 3 }}>