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
2 changed files with 7 additions and 3 deletions

2
external/lang vendored

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