fix: fix all ui imports in our plugins, and get rid of ui subpath exports within monorepo (#6854)

This commit is contained in:
Alessio Gravili
2024-06-19 14:16:31 -04:00
committed by GitHub
parent bc98567f41
commit aef2a52cea
84 changed files with 287 additions and 318 deletions

View File

@@ -1,7 +1,7 @@
'use client'
import { useLivePreview } from '@payloadcms/live-preview-react'
import { Gutter } from '@payloadcms/ui/elements/Gutter'
import { Gutter } from '@payloadcms/ui'
import React from 'react'
import type { Post as PostType } from '../../../../../payload-types.js'

View File

@@ -1,4 +1,4 @@
import { Gutter } from '@payloadcms/ui/elements/Gutter'
import { Gutter } from '@payloadcms/ui'
import { notFound } from 'next/navigation.js'
import React, { Fragment } from 'react'

View File

@@ -1,4 +1,4 @@
import { Gutter } from '@payloadcms/ui/elements/Gutter'
import { Gutter } from '@payloadcms/ui'
import { notFound } from 'next/navigation.js'
import React, { Fragment } from 'react'