diff --git a/src/routes/+layout.server.ts b/src/routes/+layout.server.ts deleted file mode 100644 index fc1cf6d..0000000 --- a/src/routes/+layout.server.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { LayoutServerLoad } from './$types'; -import { fetchGitHubStars } from '@/utils/getStarsRepository'; - -export const load: LayoutServerLoad = async ({ url: { pathname } }) => { - const stars = await fetchGitHubStars(); - return { pathname, stars }; -};