🛠️ Delete unused +layout.server file

This commit is contained in:
pheralb 2025-02-05 00:10:58 +00:00
parent 78194e135b
commit d75490ba4c

View File

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