diff --git a/examples/with-material-ui/renderer/components/Link.tsx b/examples/with-material-ui/renderer/components/Link.tsx index 99d9f1c9..18101670 100644 --- a/examples/with-material-ui/renderer/components/Link.tsx +++ b/examples/with-material-ui/renderer/components/Link.tsx @@ -39,6 +39,7 @@ function Link(props: LinkProps) { } = props const router = useRouter() + // eslint-disable-next-line @typescript-eslint/no-explicit-any const pathname = typeof href === 'string' ? href : (href as any).pathname const className = clsx(classNameProps, { [activeClassName]: router.pathname === pathname && activeClassName, @@ -66,6 +67,7 @@ function Link(props: LinkProps) { ) } +// eslint-disable-next-line react/display-name export default React.forwardRef((props, ref) => ( )) diff --git a/examples/with-material-ui/renderer/pages/_document.tsx b/examples/with-material-ui/renderer/pages/_document.tsx index 8a866904..fd13fafb 100644 --- a/examples/with-material-ui/renderer/pages/_document.tsx +++ b/examples/with-material-ui/renderer/pages/_document.tsx @@ -57,6 +57,7 @@ MyDocument.getInitialProps = async (ctx) => { ctx.renderPage = () => originalRenderPage({ + // eslint-disable-next-line @typescript-eslint/no-explicit-any enhanceApp: (App: any) => function EnhanceApp(props) { return