aboutsummaryrefslogtreecommitdiff
path: root/packages/web-util/src/components/Header.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/web-util/src/components/Header.tsx')
-rw-r--r--packages/web-util/src/components/Header.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/web-util/src/components/Header.tsx b/packages/web-util/src/components/Header.tsx
index a0587b2ae..e5662fc70 100644
--- a/packages/web-util/src/components/Header.tsx
+++ b/packages/web-util/src/components/Header.tsx
@@ -3,7 +3,7 @@ import { LangSelector, useTranslationContext } from "../index.browser.js";
import { ComponentChildren, Fragment, VNode, h } from "preact";
import logo from "../assets/logo-2021.svg";
-export function Header({ title, iconLinkURL, sites, supportedLangs, onLogout, children }:
+export function Header({ title, iconLinkURL, sites, onLogout, children }:
{ title: string, iconLinkURL: string, children?: ComponentChildren, onLogout: (() => void) | undefined, sites: Array<Array<string>>, supportedLangs: string[] }): VNode {
const { i18n } = useTranslationContext();
const [open, setOpen] = useState(false)
@@ -107,7 +107,7 @@ export function Header({ title, iconLinkURL, sites, supportedLangs, onLogout, ch
</li>
: undefined}
<li>
- <LangSelector supportedLangs={supportedLangs} />
+ <LangSelector />
</li>
{/* CHILDREN */}
{children}