r1tsuu / payload-enchants

Payload 3.0 enchantment packages
MIT License
120 stars 7 forks source link

Resolve import issue in payload-3.0-beta.60 #83

Closed lynndylanhurley closed 2 months ago

lynndylanhurley commented 2 months ago

The import path for the reduceFieldsToValues utility method has changed from this:

import { reduceFieldsToValues } from '@payloadcms/ui/shared';

to this:

import { reduceFieldsToValues } from 'payload/shared';

This issue prevents our app from compiling.

This PR resolves the issue.

r1tsuu commented 2 months ago

Released https://github.com/r1tsuu/payload-enchants/releases/tag/1.2.1

lynndylanhurley commented 2 months ago

Confirmed that this is working with beta.61. Thanks @r1tsuu !