How to avoid Decimal type error - TanStack