How to reset data on component remount - TanStack