Language fixes.

This commit is contained in:
Mike Cao committed 2020-10-27 12:01:40 -07:00
1 parent aaf4c605be
commit 1e2d8849cf
5 files changed
+8 -8

No files matched your search

+1 -7
View File
@@ -16,13 +16,7 @@ export default function LanguageButton() {
return (
<>
<Head>
{locale === 'zh-CN' && (
<link
href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap"
rel="stylesheet"
/>
)}
{locale === 'zh-TW' && (
{(locale === 'zh-CN' || locale === 'zh-TW') && (
<link
href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap"
rel="stylesheet"