diff --git a/src/containers/UserInformation/UserInformation.tsx b/src/containers/UserInformation/UserInformation.tsx index 186f4ab3..4a056b92 100644 --- a/src/containers/UserInformation/UserInformation.tsx +++ b/src/containers/UserInformation/UserInformation.tsx @@ -34,9 +34,9 @@ export const UserInformation = (props: UserInformationProps) => { ...rest } = props - const [{ isLoading, notifications }, setUserNotifications] = useState({ + const [{ isLoading, notifications }, setUserNotifications] = useState<{ isLoading: boolean, notifications: DCLNotification[] }>({ isLoading: false, - notifications: [] as DCLNotification[] + notifications: [] }) const [notificationsState, setNotificationsState] = useState({ activeTab: NotificationActiveTab.NEWEST,