Skip to content

Commit

Permalink
Updated useCallback deps
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronknol committed Aug 22, 2024
1 parent dc2b502 commit 57c2341
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const ToastNotificationProvider = ({
setNotifications(existing => [...existing, notificationWithId])
}
},
[setNotifications]
[notifications, setNotifications]
)

const updateToastNotification = (
Expand Down

0 comments on commit 57c2341

Please sign in to comment.