From 1d5f74bca29c6bb28bef6035aa09a1e35884b40a Mon Sep 17 00:00:00 2001
From: Sam Nystrom <sam@samnystrom.dev>
Date: Sat, 16 Mar 2024 22:54:54 -0400
Subject: test: begin writing tests

---
 src/pages/Editor.tsx | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

(limited to 'src/pages/Editor.tsx')

diff --git a/src/pages/Editor.tsx b/src/pages/Editor.tsx
index c929595..c5b369f 100644
--- a/src/pages/Editor.tsx
+++ b/src/pages/Editor.tsx
@@ -20,11 +20,7 @@ const Editor = ({ user, project }: EditorProps) => {
 		})();
 	}, []);
 
-	return (
-		<>
-			{!!projectData.value && <NodeEditor project={projectData.value} />}
-		</>
-	);
+	return projectData.value ? <NodeEditor project={projectData.value} /> : null;
 };
 
 export default Editor;
-- 
cgit v1.2.3

