feat: migrate editor page to server component

This commit is contained in:
swve 2023-05-22 18:16:37 +00:00
parent b6e5b1b616
commit 9249aeafad
7 changed files with 60 additions and 28 deletions

View file

@ -1,3 +1,4 @@
'use client';
import React from "react";
import { useEditor, EditorContent } from "@tiptap/react";
import StarterKit from "@tiptap/starter-kit";

View file

@ -1,3 +1,4 @@
'use client';
import { default as React, } from "react";
import * as Y from "yjs";
import { WebrtcProvider } from "y-webrtc";