diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2024-03-13 22:37:58 +0000 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2024-03-13 20:17:07 -0400 |
| commit | b4d7b00dd1add8e1cffb7771539fa6c419b64846 (patch) | |
| tree | a634501f724077d981e7c6121f9960cfe24a22d4 /src/context.ts | |
| parent | 9eb1625ec5de3c221ed0445dde874fcb1dc3ff48 (diff) | |
refactor: extract nodes/sockets to components
Diffstat (limited to 'src/context.ts')
| -rw-r--r-- | src/context.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/context.ts b/src/context.ts index 2e77787..054d796 100644 --- a/src/context.ts +++ b/src/context.ts @@ -1,5 +1,4 @@ import { createContext } from 'preact'; +import type { PocketBase } from 'pocketbase'; -const Pb = createContext(); - -export { Pb };
\ No newline at end of file +export const Pb = createContext<PocketBase>(); |
