feat: add typescript support to i18next

This commit is contained in:
Tristan Yang
2022-11-25 11:28:00 +08:00
parent 79832fefe3
commit 48a529e5d6
25 changed files with 136 additions and 54 deletions
@@ -97,7 +97,7 @@ const InviteByEmail: FC<Props> = ({ cid }) => {
onChange={handleEmail}
disabled={!enableSMTP}
type="email"
placeholder={enableSMTP ? "Enter Email" : t("enable_smtp") || ""}
placeholder={enableSMTP ? "Enter Email" : t("enable_smtp")}
/>
<Button disabled={!enableSMTP || !email} className="send">
{t("action.send", { ns: "common" })}