mirror of
https://github.com/linsa-io/linsa.git
synced 2026-03-18 07:13:55 +01:00
chore: subscribe co value
This commit is contained in:
@@ -17,7 +17,12 @@ export interface LaEditorProps extends UseLaEditorProps {
|
||||
|
||||
export const LaEditor = React.forwardRef<HTMLDivElement, LaEditorProps>(
|
||||
({ className, editorContentClassName, me, personalPage, ...props }, ref) => {
|
||||
const editor = useLaEditor({ ...props, me, personalPage })
|
||||
const editor = useLaEditor({
|
||||
...props,
|
||||
me,
|
||||
personalPage,
|
||||
shouldRerenderOnTransaction: true,
|
||||
})
|
||||
|
||||
if (!editor) {
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user