Skip to content

BUG: React Warning: Failed prop type: The prop icon is marked as required in SelectedPreset #3310

Open
@grebaldi

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 in SelectedPreset, but its value is undefined.
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

  1. Open the Neos UI
  2. See the error in the console

Expected behavior

There should be no console error.

Actual behavior

image

Affected Versions

Neos: 8.2

UI: 8.3 (current dev branch)

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions