useStore causing weird behavior to form.reset() - TanStack