From c63738e17df4d5bfff2049a6d1c445c609c2189e Mon Sep 17 00:00:00 2001
From: Sam Nystrom <sam@samnystrom.dev>
Date: Thu, 14 Mar 2024 19:29:29 -0400
Subject: fix: fix lots of type errors

---
 src/index.tsx | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'src/index.tsx')

diff --git a/src/index.tsx b/src/index.tsx
index ff833cc..6fdf07e 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -1,15 +1,14 @@
 import { render } from 'preact';
-import { useEffect, useMemo } from 'preact/hooks';
+import { useMemo } from 'preact/hooks';
 import { Router } from 'preact-router';
 import PocketBase from 'pocketbase';
 import { Pb } from './context.ts';
 import { Home, SignUp, LogIn, ProjectsList } from './pages';
 import NodeEditor from './NodeEditor.tsx';
-import { Header, Button } from './components';
 import './index.css';
 
 export const App = () => {
-	const pb = useMemo(() => new PocketBase(`/`));
+	const pb = useMemo(() => new PocketBase(`/`), []);
 	return (
 		<Pb.Provider value={pb}>
 			<Router>
-- 
cgit v1.2.3

