mirror of
https://github.com/vercel/commerce.git
synced 2025-06-18 13:11:23 +00:00
Update I18nWidget.tsx
This commit is contained in:
parent
d8c01ffcf6
commit
4f34741494
@ -49,6 +49,7 @@ const I18nWidget: FC = () => {
|
|||||||
src={`/${LOCALES_MAP[currentLocale].img.filename}`}
|
src={`/${LOCALES_MAP[currentLocale].img.filename}`}
|
||||||
alt={LOCALES_MAP[currentLocale].img.alt}
|
alt={LOCALES_MAP[currentLocale].img.alt}
|
||||||
/>
|
/>
|
||||||
|
{LOCALES_MAP[currentLocale].name}
|
||||||
{options && (
|
{options && (
|
||||||
<span className="cursor-pointer" onClick={() => setDisplay(!display)}>
|
<span className="cursor-pointer" onClick={() => setDisplay(!display)}>
|
||||||
<svg
|
<svg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user