feat(client): check in

Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
2025-12-25 02:17:41 +08:00
committed by Asai Neko
parent 606c74c587
commit 9ac598cd98
5 changed files with 52 additions and 31 deletions

View File

@@ -0,0 +1,10 @@
import { useMutation } from '@tanstack/react-query';
import { axiosClient } from '@/lib/axios';
export function useCheckin() {
return useMutation({
mutationFn: async () => {
return axiosClient.post<object>('/checkin');
},
});
}