Skip to content

Commit

Permalink
Rename route
Browse files Browse the repository at this point in the history
  • Loading branch information
esdete2 committed Jul 4, 2024
1 parent a96924c commit 4e64aa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/styleguide/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type StyleguidePageProps = {
};
};

const Styleguide =
const Route =
(content: StyleguideContent, path: string = '/styleguide') =>
({ params: { slug } }: StyleguidePageProps) => {
if (!process.env.ENABLE_STYLEGUIDE) {
Expand All @@ -23,4 +23,4 @@ const Styleguide =
return <Layout content={content} pageContent={getPageContent(content, slug)} path={_path} />;
};

export default Styleguide;
export default Route;

0 comments on commit 4e64aa5

Please sign in to comment.