Skip to content

Commit

Permalink
No footer on example pages
Browse files Browse the repository at this point in the history
  • Loading branch information
bbazukun123 committed Jan 15, 2024
1 parent e975142 commit b635448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/theme/Footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function Footer()
const { pathname } = useLocation();

// List the paths where you don't want to show the footer
const noFooterPaths = ['tutorials', 'playground'];
const noFooterPaths = ['examples', 'tutorials', 'playground'];

if (!footer || noFooterPaths.some((path) => pathname.includes(path)))
{
Expand Down

0 comments on commit b635448

Please sign in to comment.