Fix: make locals global
All checks were successful
Build Docker Image / run (pull_request) Successful in 51s

This commit is contained in:
2024-04-26 17:05:16 +02:00
parent 41ed285326
commit 9a4357394a
5 changed files with 18 additions and 14 deletions

View File

@ -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