fix(login): Fix render of welcome and subtitle text per page (#573)

This commit is contained in:
Daesun 2022-04-05 18:42:32 -04:00 committed by GitHub
parent 777d06f469
commit 002cb5e6c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,10 +146,10 @@ export const Form = observer(({ page, callback }: Props) => {
<div className={styles.welcome}>
<div className={styles.title}>
<img src={WaveSVG} draggable={false} />
<Text id="login.welcome" />
<Text id={page === "create" ? "login.welcome2" : "login.welcome"} />
</div>
<div className={styles.subtitle}>
<Text id="login.subtitle" />
<Text id={page === "create" ? "login.subtitle2" : "login.subtitle"} />
<div>(app.revolt.chat)</div>
</div>
</div>