Skip to content

Commit ec48104

Browse files
committed
test
1 parent fc7f1d5 commit ec48104

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Footer/Subscribe/Subscribe.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ export default function Subscribe(props) {
2020
const [customMessage, setCustomMessage] = useState("")
2121
const [emailValid, setEmailValid] = useState(false)
2222

23-
i18next.changeLanguage(props.lang)
23+
console.log("props.lang", props.lang)
24+
i18next.changeLanguage(props.lang || "en")
2425

2526
useEffect(() => {
2627
setCustomMessage("")

0 commit comments

Comments
 (0)