From 85e73c065d2cad646fe60f97148706e2c91b1d67 Mon Sep 17 00:00:00 2001 From: djk01281 Date: Thu, 14 Nov 2024 21:15:03 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=97=90=EB=94=94=ED=84=B0=20=EC=BB=B4?= =?UTF-8?q?=ED=8F=AC=EB=84=8C=ED=8A=B8=EC=9D=98=20=EB=94=94=EB=B2=84?= =?UTF-8?q?=EA=B9=85=EC=9A=A9=20=ED=85=8D=EC=8A=A4=ED=8A=B8=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/EditorView.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/EditorView.tsx b/frontend/src/components/EditorView.tsx index 9d6d59f9..e496720f 100644 --- a/frontend/src/components/EditorView.tsx +++ b/frontend/src/components/EditorView.tsx @@ -73,16 +73,10 @@ export default function EditorView() { ); if (isLoading || !page || currentPage === null) { - return ( -
- {isLoading &&
"isLoading"
} - {!page &&
"!page"
} - {currentPage === null &&
"currrentPage === null"
} -
- ); + return null; } - if (!ydoc || !provider) return
로딩중
; + if (!ydoc || !provider) return null; return (