Refactor some actions to be proper async actions instead of passing a continuation (#31453)
This commit is contained in:
parent
40f6631ac9
commit
1e612c5a09
5 changed files with 42 additions and 55 deletions
|
@ -13,6 +13,6 @@ export const initializeNotifications = createAppAsyncThunk(
|
|||
) as boolean;
|
||||
|
||||
if (enableBeta) void dispatch(fetchNotifications());
|
||||
else dispatch(expandNotifications());
|
||||
else void dispatch(expandNotifications());
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue