diff --git a/src/routes/users/[id].tsx b/src/routes/users/[id].tsx index 85a4548..70a7b7f 100644 --- a/src/routes/users/[id].tsx +++ b/src/routes/users/[id].tsx @@ -3,7 +3,7 @@ import { Show } from "solid-js"; import fetchAPI from "~/lib/api"; import { UserDefinition } from "~/types"; -export const getUser = cache(async (id: string): Promise => { +const getUser = cache(async (id: string): Promise => { return fetchAPI(`user/${id}`); }, "user");