diff options
author | Sebastian <sebasjm@gmail.com> | 2024-01-17 10:22:49 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-01-17 10:22:49 -0300 |
commit | f5a54633dca3599dab82730fd7d550c0289f170f (patch) | |
tree | 5c4d2b25973b891e0b19cb8401d24354a1227105 /packages/web-util/src/components/Header.tsx | |
parent | 87765a4023e33d9502cf55ad2592dabf262ddc69 (diff) | |
download | wallet-core-f5a54633dca3599dab82730fd7d550c0289f170f.tar.xz |
add translation completeness from pogen to the UI
Diffstat (limited to 'packages/web-util/src/components/Header.tsx')
-rw-r--r-- | packages/web-util/src/components/Header.tsx | 4 |
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} |