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
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:
The plugin seems to import
useFieldComponentsfrom@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