From 052cc1a5a4668d7cb17fb273a022aa5b820d1faa Mon Sep 17 00:00:00 2001
From: Sam Nystrom <sam@samnystrom.dev>
Date: Wed, 13 Mar 2024 05:03:22 +0000
Subject: refactor: move styles into separate components

---
 src/NodeEditor.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/NodeEditor.tsx')

diff --git a/src/NodeEditor.tsx b/src/NodeEditor.tsx
index 3a80825..0c0f106 100644
--- a/src/NodeEditor.tsx
+++ b/src/NodeEditor.tsx
@@ -56,7 +56,7 @@ interface LinkData extends LinkProps {
 	to: { nodeId: number, socket: string };
 }
 
-export const NodeEditor = ({ user, project }) => {
+const NodeEditor = ({ user, project }) => {
 	const pb = useContext(Pb);
 
 	const offsetX = useSignal(0);
@@ -270,3 +270,5 @@ export const NodeEditor = ({ user, project }) => {
 		</>
 	);
 };
+
+export default NodeEditor;
\ No newline at end of file
-- 
cgit v1.2.3

