Skip to content

Commit

Permalink
fix: definition type
Browse files Browse the repository at this point in the history
  • Loading branch information
lauti7 committed Dec 7, 2023
1 parent dffc68f commit 78df567
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/containers/UserInformation/UserInformation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 78df567

Please sign in to comment.