aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/pages/setting/index.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-08-26 23:49:28 +0800
committercrupest <crupest@outlook.com>2023-08-26 23:49:28 +0800
commit256cc9592a3f31fc392e1ccdb699aa206b7b47ce (patch)
treefdca6f8b1cdbd5ed264a1af9e48496685f4e9a95 /FrontEnd/src/pages/setting/index.tsx
parentf5dfd52f6efece2f4cad227044ecf4dd66301bbc (diff)
downloadtimeline-256cc9592a3f31fc392e1ccdb699aa206b7b47ce.tar.gz
timeline-256cc9592a3f31fc392e1ccdb699aa206b7b47ce.tar.bz2
timeline-256cc9592a3f31fc392e1ccdb699aa206b7b47ce.zip
...
Diffstat (limited to 'FrontEnd/src/pages/setting/index.tsx')
-rw-r--r--FrontEnd/src/pages/setting/index.tsx11
1 files changed, 6 insertions, 5 deletions
diff --git a/FrontEnd/src/pages/setting/index.tsx b/FrontEnd/src/pages/setting/index.tsx
index 67416a08..918a77b5 100644
--- a/FrontEnd/src/pages/setting/index.tsx
+++ b/FrontEnd/src/pages/setting/index.tsx
@@ -4,25 +4,26 @@ import {
ReactNode,
ComponentPropsWithoutRef,
} from "react";
-import { useTranslation } from "react-i18next";
+import { useTranslation } from "react-i18next"; // For change language.
import { useNavigate } from "react-router-dom";
import classNames from "classnames";
-import { useC, Text } from "~src/common";
import { useUser, userService } from "~src/services/user";
import { getHttpUserClient } from "~src/http/user";
+import { pushAlert } from "~src/services/alert";
+
+import { useC, Text } from "~src/common";
-import { useDialog } from "~src/components/dialog";
-import ConfirmDialog from "~src/components/dialog/ConfirmDialog";
+import { useDialog, ConfirmDialog } from "~src/components/dialog";
import Card from "~src/components/Card";
import Spinner from "~src/components/Spinner";
import Page from "~src/components/Page";
+
import ChangePasswordDialog from "./ChangePasswordDialog";
import ChangeAvatarDialog from "./ChangeAvatarDialog";
import ChangeNicknameDialog from "./ChangeNicknameDialog";
import "./index.css";
-import { pushAlert } from "~src/services/alert";
interface SettingSectionProps
extends Omit<ComponentPropsWithoutRef<typeof Card>, "title"> {