Fix: make locals global
All checks were successful
Build Docker Image / run (pull_request) Successful in 51s
All checks were successful
Build Docker Image / run (pull_request) Successful in 51s
This commit is contained in:
@ -3,7 +3,7 @@ import Layout from 'layouts/Layout.astro'
|
||||
import PocketBase from 'pocketbase'
|
||||
|
||||
|
||||
const pb = Astro.locals.pb as PocketBase
|
||||
const pb = Astro.locals.pb
|
||||
const auth = pb.authStore
|
||||
const user = auth.model
|
||||
|
||||
|
Reference in New Issue
Block a user