Skip to content

Commit

Permalink
Merge pull request #164 from boostcampwm-2024/bug-fe-#163
Browse files Browse the repository at this point in the history
에디터 컴포넌트의 디버깅용 텍스트 제거
  • Loading branch information
yewonJin authored Nov 14, 2024
2 parents 31cd16c + 85e73c0 commit 505dd38
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions frontend/src/components/EditorView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,10 @@ export default function EditorView() {
);

if (isLoading || !page || currentPage === null) {
return (
<div>
{isLoading && <div>"isLoading"</div>}
{!page && <div>"!page"</div>}
{currentPage === null && <div>"currrentPage === null"</div>}
</div>
);
return null;
}

if (!ydoc || !provider) return <div>로딩중</div>;
if (!ydoc || !provider) return null;

return (
<EditorLayout>
Expand Down

0 comments on commit 505dd38

Please sign in to comment.