🐞 fix:

This commit is contained in:
john 2024-06-05 15:31:19 +08:00
parent 101fe2bb10
commit 7b3e1bc287
1 changed files with 2 additions and 2 deletions

View File

@ -107,14 +107,14 @@ function SignIn() {
className={`tabs-button ${selectIndex === 0 && "selected"}`} className={`tabs-button ${selectIndex === 0 && "selected"}`}
onClick={handleTabs(0)} onClick={handleTabs(0)}
> >
<img src={selectIndex === 0 ? phoneIconSelect : phoneIcon} alt="" /> <img src={selectIndex === 0 ? emailIconSelect : emailIcon} alt="" />
<span>{t("E-mail")}</span> <span>{t("E-mail")}</span>
</div> </div>
<div <div
className={`tabs-button ${selectIndex === 1 && "selected"}`} className={`tabs-button ${selectIndex === 1 && "selected"}`}
onClick={handleTabs(1)} onClick={handleTabs(1)}
> >
<img src={selectIndex === 1 ? emailIconSelect : emailIcon} alt="" /> <img src={selectIndex === 1 ? phoneIconSelect : phoneIcon} alt="" />
<span>{t("phone")}</span> <span>{t("phone")}</span>
</div> </div>
</div> </div>