[SOLVED] Want to pass a refetch from an useQuery to an action in a column helper.
I have an useQuery in a parent component that I destruct
refetch() from. i now want to pass it to the table so i can use it in my column definition. so far this is what i have:
however, when i run refetch() nothing happens. it never gets invoked. anyone know what it might be?1 Reply
plain-purpleOP•2y ago
never mind i figured it out! i never called
refetch() inside my BookingDropdown 😅, doing so solved it!