Conditionally render tooltip dependant on state - TanStack