[index.js][s]: remove the templatestring causing cypress to fail

This commit is contained in:
steveoni
2020-12-03 13:56:54 +01:00
parent b0ac5d9942
commit a870a05ad9

View File

@@ -18,7 +18,7 @@ const Home: React.FC<{ locale: any; locales: any }> = ({
<> <>
<div className="container mx-auto"> <div className="container mx-auto">
<Head> <Head>
<title>{t`common:title`}</title> <title>{t(`common:title`)}</title>
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
</Head> </Head>
<Nav /> <Nav />
@@ -29,7 +29,7 @@ const Home: React.FC<{ locale: any; locales: any }> = ({
<span className="text-orange-500">Datahub</span> <span className="text-orange-500">Datahub</span>
</h1> </h1>
<p className="text-md font-light mb-3 w-4/5"> <p className="text-md font-light mb-3 w-4/5">
{t`common:description`} {t(`common:description`)}
</p> </p>
<Form /> <Form />
</div> </div>