mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-22 07:00:58 -05:00
chore: show error on modify account
This commit is contained in:
parent
fa0fcedce5
commit
f1594a7b36
2 changed files with 7 additions and 3 deletions
2
external/lang
vendored
2
external/lang
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 820e38afe5e05af165a33b2dccb906216326480b
|
Subproject commit 2629e10645bb6f44ccaf809dc5bcbd9495ef6a23
|
|
@ -161,7 +161,10 @@ export default function ModifyAccount({
|
||||||
<Category compact>
|
<Category compact>
|
||||||
<Error
|
<Error
|
||||||
error={
|
error={
|
||||||
<Text id="app.special.modals.account.failed" />
|
<>
|
||||||
|
<Text id="app.special.modals.account.failed" />{" "}
|
||||||
|
<Text id={`error.${error}`}>{error}</Text>
|
||||||
|
</>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</Category>
|
</Category>
|
||||||
|
@ -171,7 +174,8 @@ export default function ModifyAccount({
|
||||||
<div style={{ marginTop: "8px" }}>
|
<div style={{ marginTop: "8px" }}>
|
||||||
<Tip palette="warning">
|
<Tip palette="warning">
|
||||||
Changing your username may change your number tag.
|
Changing your username may change your number tag.
|
||||||
You can freely change the case of your username.
|
You can freely change the case of your username. You
|
||||||
|
may change your number tag up to once a day.
|
||||||
</Tip>
|
</Tip>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue