Refactor some actions to be proper async actions instead of passing a continuation (#31453)

This commit is contained in:
Claire 2024-08-19 16:41:32 +02:00 committed by GitHub
parent 40f6631ac9
commit 1e612c5a09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 42 additions and 55 deletions

View file

@ -13,6 +13,6 @@ export const initializeNotifications = createAppAsyncThunk(
) as boolean;
if (enableBeta) void dispatch(fetchNotifications());
else dispatch(expandNotifications());
else void dispatch(expandNotifications());
},
);