Skip to content

Commit

Permalink
remove unused props
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Aug 15, 2024
1 parent ab06674 commit a117799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/pigment-css-vite-app/src/pages/fixtures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useLocation, matchRoutes, Link } from 'react-router-dom';
import routes from '~react-pages';
import IndexLayout from '../../Layout';

export default function Layout(props: { children?: React.ReactNode }) {
export default function Layout() {
const location = useLocation();
const matchedRoute = React.useMemo(
() => matchRoutes(routes, location.pathname)?.[0],
Expand Down

0 comments on commit a117799

Please sign in to comment.