Skip to content

better-localized-fields: 'useFieldComponents' is not exported from '@payloadcms/ui' #113

@Fralleee

Description

@Fralleee

I'm testing out the plugin better-localized-fields in my Payload project. After installing the plugin, when I build or run the project, I encounter the following error:

Attempted import error: 'useFieldComponents' is not exported from '@payloadcms/ui' (imported as 'useFieldComponents').

The plugin seems to import useFieldComponents from @payloadcms/ui, but that hook isn't exported in version 3.34.0.

Environment:

@payloadcms/ui: ^3.34.0
@payload-enchants/better-localized-fields: ^1.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions