summaryrefslogtreecommitdiff
path: root/src/index.tsx
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2024-03-16 22:54:54 -0400
committerSam Nystrom <sam@samnystrom.dev>2024-03-16 22:54:54 -0400
commit1d5f74bca29c6bb28bef6035aa09a1e35884b40a (patch)
tree910801e8f2bf940f77438642f7a20448385d822a /src/index.tsx
parent7c37715afd7d9572a7f1a79552a187ab2a3e4184 (diff)
test: begin writing testsHEADmain
Diffstat (limited to 'src/index.tsx')
-rw-r--r--src/index.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/index.tsx b/src/index.tsx
index cd8c870..a67fd94 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -1,3 +1,4 @@
+import 'preact/debug';
import { render } from 'preact';
import { useMemo } from 'preact/hooks';
import { Router } from 'preact-router';
@@ -7,7 +8,7 @@ import { Home, SignUp, LogIn, ProjectsList, Editor } from './pages';
import './index.css';
export const App = () => {
- const pb = useMemo(() => new PocketBase(`/`), []);
+ const pb = useMemo(() => new PocketBase('http://localhost:8090/'), []);
return (
<Pb.Provider value={pb}>
<Router>