weave-gitops-enterprise
weave-gitops-enterprise copied to clipboard
Fix warning on tabs component after refresh
In EE, we get this warning on a refresh
Material-UI: The value provided to the Tabs component is invalid.
None of the Tabs' children match with `/explorer`.
You can provide one of the following values: 0, /clusters, /templates, /gitopssets, /secrets, 5, /applications, /sources, /image_automation, /delivery, /flux_runtime, 11, /workspaces, /policies, /policyConfigs, 15, /gitopsrun, /notifications.
This pollutes the browser console and is annoying. I would imagine it is also happening in Core.
@jpellizzari could you please check if you can still reproduce the issue?
Preferably locally (and where — with just running the app with tilt up/make cluster-dev or when running tilt in manual mode and running yarn start in a separate terminal window).
There are some presumably unrelated messages in the console, but I don't see the original message locally or in the latest enterprise staging. And I 100% saw the original message several weeks ago.