File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1313import { PiniaColadaDevtools } from " @pinia/colada-devtools" ;
1414import { useAuthStore } from " @/stores/auth" ;
1515
16- const authStore = useAuthStore ();
16+ const authStore = useAuthStore ();
1717
1818// Initialize authentication on app start
1919authStore .initialize ();
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import type { EnrichedNotification } from "@/dto/notifications";
88export const useDeleteNotificationMutation = defineMutation ( ( ) => {
99 const queryCache = useQueryCache ( ) ;
1010
11- const { mutate , ...mutation } = useMutation ( {
11+ const { mutatee , ...mutation } = useMutation ( {
1212 mutation : ( id : string ) => deleteMyNotification ( id ) ,
1313 onMutate : ( id : string ) => {
1414 // optimistic: remove the notification from the "notifications" query
You can’t perform that action at this time.
0 commit comments