Strict mode preparations

main
Mike Fix 6 years ago
parent 054622a57b
commit 4115020919

File diff suppressed because one or more lines are too long

@ -67,7 +67,7 @@ export const MetaLinks = React.memo(() => {
{CDN_STYLESHEETS.map(themeDef => {
const href = `//cdnjs.cloudflare.com/ajax/libs/codemirror/5.42.2/theme/${themeDef &&
(themeDef.link || themeDef.id)}.min.css`
return <Link key={href} href={href} />
return <Link key={themeDef.id} href={href} />
})}
</React.Fragment>
)

@ -4,6 +4,7 @@ import Document, { Head, Main, NextScript } from 'next/document'
export default class extends Document {
render() {
return (
<React.StrictMode>
<html lang="en">
<Head />
<body>
@ -11,6 +12,7 @@ export default class extends Document {
<NextScript />
</body>
</html>
</React.StrictMode>
)
}
}

Loading…
Cancel
Save