Skip to content

Commit

Permalink
Replace hardcoded locale in _document.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
n3ko authored Jun 8, 2021
1 parent cdcb742 commit 59e5b89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ import Document, {
Html, Head, Main, NextScript,
} from 'next/document';

import { Config } from '../utils/Config';

class MyDocument extends Document {
render() {
return (
<Html lang="en">
<Html lang={Config.locale}>
<Head />
<body>
<Main />
Expand Down

0 comments on commit 59e5b89

Please sign in to comment.