Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Infra] Fix react query closing x in a non development env (elastic#1…
…91276) Closes [elastic#190220](elastic#190220) ## Summary This PR removes the `x` icon used to close the react query dev tools which appeared in a non-development environment by restricting it to appear only in development mode. | before | after | |-------|-------| | <img width="1907" alt="image" src="https://github.com/user-attachments/assets/28e68139-8f8b-4f13-aea3-76f9971b1ac0"> | <img width="1902" alt="image" src="https://github.com/user-attachments/assets/7649f310-c531-4a01-aae4-c423c811cc48"> | In a development environment, the icon stays and works as before: <img width="1890" alt="image" src="https://github.com/user-attachments/assets/a7cd7479-f1cd-4504-812d-b3ade903dfb7"> (cherry picked from commit 746662e)
- Loading branch information