mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-02 08:09:04 +01:00
11de3dbef6
Port c620452fd7
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
10 lines
287 B
TypeScript
10 lines
287 B
TypeScript
import { createAppAsyncThunk } from 'flavours/glitch/store';
|
|
|
|
import { fetchNotifications } from './notification_groups';
|
|
|
|
export const initializeNotifications = createAppAsyncThunk(
|
|
'notifications/initialize',
|
|
(_, { dispatch }) => {
|
|
void dispatch(fetchNotifications());
|
|
},
|
|
);
|