diff --git a/pages/_app.js b/pages/_app.js index 7a7d04be..0d300e77 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -12,7 +12,7 @@ export default function App({ Component, pageProps}) { useEffect(() => { if (process.env.NODE_ENV !== 'production') { const axe = require('@axe-core/react'); - axe(React, ReactDOM, 1000); + axe.default(React, ReactDOM, 1000); } }, []); return (