Skip to content

Commit

Permalink
filter broken page
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Sep 4, 2024
1 parent 370f21f commit 5278807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/pigment-css-vite-app/src/pages/fixtures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ export default function Layout() {

const demo = new URLSearchParams(location.search).get('demo');
const fixturesRoutes = (matchedRoute?.route.children ?? []).filter(
(item) => !!item.path && item.path !== 'index.test' && item.path !== 'layout',
(item) => !!item.path && item.path !== 'index.test',
);

const demosRoutes = (materialUIRoute?.route.children ?? []).filter(
(item) => !!item.path && item.path !== 'index.test' && item.path !== 'layout',
(item) => !!item.path && item.path.indexOf('react-pagination') < 0,
);

return (
Expand Down

0 comments on commit 5278807

Please sign in to comment.