Update package-lock.json and package.json with new dependencies
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
import { goto } from "$app/navigation";
|
||||
import type { LayoutServerLoad, PageServerLoad } from "./$types";
|
||||
|
||||
import { inject } from "@vercel/analytics";
|
||||
if (process.env.USING_VERCEL === "true") {
|
||||
inject();
|
||||
}
|
||||
|
||||
export const load: LayoutServerLoad = async (event) => {
|
||||
if (event.locals.user) {
|
||||
return {
|
||||
@@ -12,4 +16,4 @@ export const load: LayoutServerLoad = async (event) => {
|
||||
user: null,
|
||||
isServerSetup: event.locals.isServerSetup,
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user