mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 08:38:37 +00:00
chore: move "resend verification" button
This commit is contained in:
@@ -222,20 +222,12 @@ export const Form = observer(({ page, callback }: Props) => {
|
||||
</Button>
|
||||
</form>
|
||||
{page === "create" && (
|
||||
<>
|
||||
<span className={styles.create}>
|
||||
<Text id="login.existing" />{" "}
|
||||
<Link to="/login">
|
||||
<Text id="login.title" />
|
||||
</Link>
|
||||
</span>
|
||||
<span className={styles.create}>
|
||||
<Text id="login.missing_verification" />{" "}
|
||||
<Link to="/login/resend">
|
||||
<Text id="login.resend" />
|
||||
</Link>
|
||||
</span>
|
||||
</>
|
||||
<span className={styles.create}>
|
||||
<Text id="login.existing" />{" "}
|
||||
<Link to="/login">
|
||||
<Text id="login.title" />
|
||||
</Link>
|
||||
</span>
|
||||
)}
|
||||
{page === "login" && (
|
||||
<>
|
||||
@@ -251,6 +243,12 @@ export const Form = observer(({ page, callback }: Props) => {
|
||||
<Text id="login.reset" />
|
||||
</Link>
|
||||
</span>
|
||||
<span className={styles.create}>
|
||||
<Text id="login.missing_verification" />{" "}
|
||||
<Link to="/login/resend">
|
||||
<Text id="login.resend" />
|
||||
</Link>
|
||||
</span>
|
||||
{import.meta.env.VITE_API_URL &&
|
||||
import.meta.env.VITE_API_URL !=
|
||||
"https://api.revolt.chat" && (
|
||||
|
||||
Reference in New Issue
Block a user