Skip to content

Commit

Permalink
chore: use const, just like other functions in file
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Mar 15, 2022
1 parent 6e761be commit 447fbe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type LoaderData = {
user: Awaited<ReturnType<typeof getUser>>;
};

export let loader: LoaderFunction = async ({ request }) => {
export const loader: LoaderFunction = async ({ request }) => {
return json<LoaderData>({
user: await getUser(request),
});
Expand Down

0 comments on commit 447fbe2

Please sign in to comment.