mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
fix: login error messages not rendering properly
This commit is contained in:
2
.env
2
.env
@@ -1,5 +1,5 @@
|
|||||||
# VITE_API_URL=https://api.revolt.chat
|
# VITE_API_URL=https://api.revolt.chat
|
||||||
# VITE_API_URL=https://app.revolt.chat/api
|
# VITE_API_URL=https://app.revolt.chat/api
|
||||||
# VITE_API_URL=http://local.revolt.chat:8000
|
# 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
|
VITE_THEMES_URL=https://themes.revolt.chat
|
||||||
|
|||||||
2
external/lang
vendored
2
external/lang
vendored
Submodule external/lang updated: 4ec2f99855...8513c63ce7
@@ -202,11 +202,12 @@ export const Form = observer(({ page, callback }: Props) => {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{error && (
|
{error && (
|
||||||
<Category>
|
<p style={{ fontSize: "0.8em" }}>
|
||||||
<I18nError error={error}>
|
<Text id={`login.error.${page}`} /> ·{" "}
|
||||||
<Text id={`login.error.${page}`} />
|
<span style={{ color: "var(--error)" }}>
|
||||||
</I18nError>
|
<Text id={`error.${error}`} children={error} />
|
||||||
</Category>
|
</span>
|
||||||
|
</p>
|
||||||
)}
|
)}
|
||||||
<Button>
|
<Button>
|
||||||
<Text
|
<Text
|
||||||
|
|||||||
Reference in New Issue
Block a user