weave-gitops-enterprise icon indicating copy to clipboard operation
weave-gitops-enterprise copied to clipboard

Fix warning on tabs component after refresh

Open jpellizzari opened this issue 2 years ago • 1 comments

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 avatar Oct 02 '23 18:10 jpellizzari

@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.

Screenshot 2023-12-21 at 12 58 35

Screenshot 2023-12-21 at 13 34 54

opudrovs avatar Dec 21 '23 13:12 opudrovs