Start adding stuff for user reminders
This commit is contained in:
1 parent
329492b244
commit
85a114e55c
6 files changed
+25
-4
No files matched your search
@@ -175,3 +175,10 @@ export const deleteGuildTemplate = (guild: string) => ({
|
||||
},
|
||||
}),
|
||||
});
|
||||
|
||||
export const fetchUserReminders = () => ({
|
||||
queryKey: ["USER_REMINDERS"],
|
||||
queryFn: () =>
|
||||
axios.get(`/dashboard/api/user/reminders`).then((resp) => resp.data) as Promise<Reminder[]>,
|
||||
staleTime: OTHER_STALE_TIME,
|
||||
});
|
||||
Reference in new issue
Block a user