A bit of help using a spreader function to update a toggle with optimistic updating - TanStack