mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 15:12:08 -05:00
chore: move "resend verification" button
This commit is contained in:
parent
bdc527ebbe
commit
8103cc03cf
1 changed files with 12 additions and 14 deletions
|
@ -222,20 +222,12 @@ export const Form = observer(({ page, callback }: Props) => {
|
||||||
</Button>
|
</Button>
|
||||||
</form>
|
</form>
|
||||||
{page === "create" && (
|
{page === "create" && (
|
||||||
<>
|
<span className={styles.create}>
|
||||||
<span className={styles.create}>
|
<Text id="login.existing" />{" "}
|
||||||
<Text id="login.existing" />{" "}
|
<Link to="/login">
|
||||||
<Link to="/login">
|
<Text id="login.title" />
|
||||||
<Text id="login.title" />
|
</Link>
|
||||||
</Link>
|
</span>
|
||||||
</span>
|
|
||||||
<span className={styles.create}>
|
|
||||||
<Text id="login.missing_verification" />{" "}
|
|
||||||
<Link to="/login/resend">
|
|
||||||
<Text id="login.resend" />
|
|
||||||
</Link>
|
|
||||||
</span>
|
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
{page === "login" && (
|
{page === "login" && (
|
||||||
<>
|
<>
|
||||||
|
@ -251,6 +243,12 @@ export const Form = observer(({ page, callback }: Props) => {
|
||||||
<Text id="login.reset" />
|
<Text id="login.reset" />
|
||||||
</Link>
|
</Link>
|
||||||
</span>
|
</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 &&
|
||||||
import.meta.env.VITE_API_URL !=
|
import.meta.env.VITE_API_URL !=
|
||||||
"https://api.revolt.chat" && (
|
"https://api.revolt.chat" && (
|
||||||
|
|
Loading…
Reference in a new issue