Fix hardcoded lang name in app header

This commit is contained in:
Nilay Majorwar
2021-12-27 15:52:19 +05:30
parent 3ace388d90
commit 6828537153
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ const IDE: NextPage = () => {
<title>{LANG_NAME} | Esolang Park</title>
</Head>
<div style={{ height: "100%", display: "flex", flexDirection: "column" }}>
<Header />
<Header langName={LANG_NAME} />
<div style={{ flexGrow: 1 }}>
<Mainframe langName={LANG_ID} provider={LangProvider} />
</div>

View File

@ -14,7 +14,7 @@ const IDE: NextPage = () => {
<title>{LANG_NAME} | Esolang Park</title>
</Head>
<div style={{ height: "100%", display: "flex", flexDirection: "column" }}>
<Header />
<Header langName={LANG_NAME} />
<div style={{ flexGrow: 1 }}>
<Mainframe langName={LANG_ID} provider={LangProvider} />
</div>