chore(richtext-lexical): add 'use client' to field and cell

This commit is contained in:
Alessio Gravili
2023-10-15 14:25:36 +02:00
parent dc2a502dcc
commit 7e7eeb059d
2 changed files with 2 additions and 0 deletions

View File

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

View File

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