Skip to content

Commit

Permalink
test: remove await in loader to see if it makes a difference
Browse files Browse the repository at this point in the history
  • Loading branch information
stilt0n committed Apr 11, 2024
1 parent 6f8cbf8 commit 152f0c6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ export const links: LinksFunction = () => {
return [{ rel: 'stylesheet', href: stylesheet }];
};

export const loader: LoaderFunction = async (args) => {
return await rootAuthLoader(args);
};
export const loader: LoaderFunction = (args) => rootAuthLoader(args);

export function Layout({ children }: { children: React.ReactNode }) {
return (
Expand Down

0 comments on commit 152f0c6

Please sign in to comment.