chore: show error on modify account

This commit is contained in:
Paul Makles 2023-06-15 18:43:36 +01:00
parent fa0fcedce5
commit f1594a7b36
No known key found for this signature in database
GPG key ID: 5059F398521BB0F6
2 changed files with 7 additions and 3 deletions

2
external/lang vendored

@ -1 +1 @@
Subproject commit 820e38afe5e05af165a33b2dccb906216326480b Subproject commit 2629e10645bb6f44ccaf809dc5bcbd9495ef6a23

View file

@ -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>
)} )}