Start adding stuff for user reminders

This commit is contained in:
claude Bot committed 2024-03-03 21:58:48 +00:00
1 parent 329492b244
commit 85a114e55c
6 files changed
+25 -4

No files matched your search

+7
View File
@@ -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,
});