Skip to content

Uncaught TypeError: intl is undefined #27

@mauritsvanrees

Description

@mauritsvanrees

Adding and then editing a quote block works, but viewing it gives an error Uncaught TypeError: intl is undefined. That is on this line. intl should have come from the props, but apparently that does not work.

In other places I have seen const intl = useSelector((state) => state.intl);. Should we use that?
I have no idea if the best way to get intl differs per Volto version.

My setup: latest Volto 18 (18.0.0-alpha.42), Volto light theme 5.0.0, Plone 6.0.13.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions