First fully working user management, move to layout groups
This commit is contained in:
@ -1,7 +0,0 @@
|
||||
import type { PageLoad } from "./$types";
|
||||
|
||||
export async function load({ fetch}) {
|
||||
const res = await fetch(`/api/items/category`);
|
||||
const categories= await res.json();
|
||||
return {categories}
|
||||
};
|
Reference in New Issue
Block a user