Description of problem:
While developing the console, when open a ConfigMap details screen there are two React Warnings shown because of some key/nameKey refactoring for i18n. See attached screenshot.
Warnings:
Warning: Each child in a list should have a unique "key" prop. Check the top-level render call using <Switch>. See https://fb.me/react-warning-keys for more information. in Route in Unknown in Unknown in Unknown in Unknown (created by ConnectFunction) in ConnectFunction (created by Firehose) in Firehose (created by ConnectFunction) in ConnectFunction in Unknown (created by DetailsPage) in ErrorBoundary (created by DetailsPage) in DetailsPage (created by ConfigMapsDetailsPage) in ConfigMapsDetailsPage (created by AsyncComponent)\ ...
Warning: Each child in a list should have a unique "key" prop. See https://fb.me/react-warning-keys for more information. in li in Unknown (created by Context.Consumer) in NavBar in div in div in Unknown in Unknown in Unknown in Unknown (created by ConnectFunction) in ConnectFunction (created by Firehose) in Firehose (created by ConnectFunction) in ConnectFunction in Unknown (created by DetailsPage) in ErrorBoundary (created by DetailsPage) in DetailsPage (created by ConfigMapsDetailsPage) in ConfigMapsDetailsPage (created by AsyncComponent) ...
Prerequisites (if any, like setup, operators/versions):
Console in local development with yarn dev
Steps to Reproduce
- Open OpenShift console
- Open your browser debug console
- Open a Configmap detail screen
Actual results:
Getting two key warning
Expected results:
No warning
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
4.7.0-0.ci-2020-12-06-083105