Skip to content

Commit

Permalink
fix(web): fix toast & bill overflow (labring#1362)
Browse files Browse the repository at this point in the history
  • Loading branch information
newfish-cmyk authored Jul 5, 2023
1 parent f4ed976 commit 918c8d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/pages/app/setting/Usage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function Usage() {

const { t } = useTranslation();
return (
<div className="absolute left-[272px] bg-white">
<div>
<h1 className="mb-4 text-2xl font-bold">Usage</h1>
<HStack className="mt-4">
<span className=" text-grayModern-500">{t("Balance")}:</span>
Expand Down
2 changes: 1 addition & 1 deletion web/src/pages/app/setting/UserInfo/Mods/UsernameEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function UsernameEditor(props: { handleBack: any }) {

const onSubmit = async (data: any) => {
const res = await bindUsername.mutateAsync(data);
if (res) {
if (!res.error) {
updateUserInfo();
handleBack();
showSuccess(t("UserInfo.EditUserNameSuccess"));
Expand Down

0 comments on commit 918c8d3

Please sign in to comment.