aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/pages/setting/index.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-08-31 01:50:40 +0800
committercrupest <crupest@outlook.com>2023-08-31 01:50:40 +0800
commitfb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8 (patch)
tree499e15e9567eae52ed043b8eaf99ddf33db05311 /FrontEnd/src/pages/setting/index.tsx
parent9c69024cf5961c3c71fb58e4237f09a513d195b1 (diff)
downloadtimeline-fb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8.tar.gz
timeline-fb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8.tar.bz2
timeline-fb64a8f3d4a7dd4035f50ccf2601ae0a683bd1b8.zip
...
Diffstat (limited to 'FrontEnd/src/pages/setting/index.tsx')
-rw-r--r--FrontEnd/src/pages/setting/index.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/FrontEnd/src/pages/setting/index.tsx b/FrontEnd/src/pages/setting/index.tsx
index d2333134..25434339 100644
--- a/FrontEnd/src/pages/setting/index.tsx
+++ b/FrontEnd/src/pages/setting/index.tsx
@@ -10,10 +10,10 @@ import classNames from "classnames";
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 { pushAlert } from "~src/components/alert";
import {
useDialog,
DialogProvider,
@@ -192,7 +192,7 @@ function RegisterCodeSettingItem() {
onClick={(event) => {
void navigator.clipboard.writeText(registerCode).then(() => {
pushAlert({
- type: "create",
+ color: "create",
message: "settings.myRegisterCodeCopied",
});
});