mirror of
https://github.com/pheralb/svgl.git
synced 2025-02-05 22:48:17 +08:00
🛠️ Delete unused +layout.server file
This commit is contained in:
parent
78194e135b
commit
d75490ba4c
@ -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 };
|
|
||||||
};
|
|
Loading…
x
Reference in New Issue
Block a user