BUG: React Warning: Failed prop type: The prop icon
is marked as required in SelectedPreset
#3310
Description
Description
I've been ignoring this for too long 😅
Whenever you open the Neos UI, you'll see this React warning in the console:
Warning: Failed prop type: The prop
icon
is marked as required inSelectedPreset
, but its value isundefined
.
in SelectedPreset (created by DimensionSwitcher)
in DimensionSwitcher (created by Context.Consumer)
in Neos(DimensionSwitcher) (created by ConnectFunction)
in ConnectFunction (created by PrimaryToolbar)
in div (created by PrimaryToolbar)
in div (created by Bar)
in Bar (created by ThemedBar)
in ThemedBar (created by PrimaryToolbar)
in PrimaryToolbar (created by ConnectFunction)
in ConnectFunction (created by Context.Consumer)
in Neos(Connect(PrimaryToolbar)) (created by App)
in div (created by App)
in App (created by ConnectFunction)
in ConnectFunction (created by Root)
in Neos (created by Root)
in Unknown (created by Root)
in Provider (created by Root)
in div (created by Root)
in Root
Steps to Reproduce
- Open the Neos UI
- See the error in the console
Expected behavior
There should be no console error.
Actual behavior
Affected Versions
Neos: 8.2
UI: 8.3 (current dev branch)