mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-04-27 15:50:35 +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://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
|
||||
|
||||
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 && (
|
||||
<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
|
||||
|
||||
Reference in New Issue
Block a user