Hook issue when calling server function - TanStack