How do I filter table data after deleting a row on a button click? - TanStack