Update package-lock.json and package.json with new dependencies

This commit is contained in:
Sean Morley
2024-04-18 23:42:32 +00:00
parent 1e1f594612
commit f838051500
3 changed files with 35 additions and 4 deletions

View File

@@ -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,
};
};
};