chore: slate compatibility with next-payload
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
'use client'
|
||||
import type { CellComponentProps, RichTextField } from 'payload/types'
|
||||
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
'use client'
|
||||
import type { ElementType } from 'react'
|
||||
|
||||
import { Tooltip } from 'payload/components'
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
'use client'
|
||||
import { Editor, Transforms } from 'slate'
|
||||
import { ReactEditor } from 'slate-react'
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
'use client'
|
||||
import { ShimmerEffect } from 'payload/components'
|
||||
import React, { Suspense, lazy } from 'react'
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
'use client'
|
||||
import React from 'react'
|
||||
import { useSlate } from 'slate-react'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user