forked from abner/for-legacy-web
fix: login error messages not rendering properly
parent
f9c2fcec56
commit
3d41a016cf
2
.env
2
.env
|
|
@ -1,5 +1,5 @@
|
|||
# VITE_API_URL=https://api.revolt.chat
|
||||
# VITE_API_URL=https://app.revolt.chat/api
|
||||
# VITE_API_URL=http://local.revolt.chat:8000
|
||||
VITE_API_URL=https://revolt.chat/api
|
||||
VITE_API_URL=https://app.revolt.chat/api
|
||||
VITE_THEMES_URL=https://themes.revolt.chat
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 4ec2f99855825743f65eabd715ec77f61c28c5d8
|
||||
Subproject commit 8513c63ce75f489d9cd97164539726c7a4e16cec
|
||||
|
|
@ -202,11 +202,12 @@ export const Form = observer(({ page, callback }: Props) => {
|
|||
/>
|
||||
)}
|
||||
{error && (
|
||||
<Category>
|
||||
<I18nError error={error}>
|
||||
<Text id={`login.error.${page}`} />
|
||||
</I18nError>
|
||||
</Category>
|
||||
<p style={{ fontSize: "0.8em" }}>
|
||||
<Text id={`login.error.${page}`} /> ·{" "}
|
||||
<span style={{ color: "var(--error)" }}>
|
||||
<Text id={`error.${error}`} children={error} />
|
||||
</span>
|
||||
</p>
|
||||
)}
|
||||
<Button>
|
||||
<Text
|
||||
|
|
|
|||
Loading…
Reference in New Issue