chore: slate compatibility with next-payload

This commit is contained in:
James
2023-10-14 11:49:38 -04:00
parent 64864686c4
commit 6bc282444e
5 changed files with 5 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
'use client'
import type { CellComponentProps, RichTextField } from 'payload/types'
import React from 'react'

View File

@@ -1,3 +1,4 @@
'use client'
import type { ElementType } from 'react'
import { Tooltip } from 'payload/components'

View File

@@ -1,3 +1,4 @@
'use client'
import { Editor, Transforms } from 'slate'
import { ReactEditor } from 'slate-react'

View File

@@ -1,3 +1,4 @@
'use client'
import { ShimmerEffect } from 'payload/components'
import React, { Suspense, lazy } from 'react'

View File

@@ -1,3 +1,4 @@
'use client'
import React from 'react'
import { useSlate } from 'slate-react'