Skip to content

Commit

Permalink
fix profile page
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansolid committed Mar 11, 2024
1 parent 590ee47 commit 4f019cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/users/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<UserDefinition> => {
const getUser = cache(async (id: string): Promise<UserDefinition> => {
return fetchAPI(`user/${id}`);
}, "user");

Expand Down

0 comments on commit 4f019cf

Please sign in to comment.