From 6abe94383e1da49ca1e14cac458e4012cc8f50f6 Mon Sep 17 00:00:00 2001 From: Tristan Yang Date: Mon, 23 Oct 2023 10:52:39 +0800 Subject: [PATCH] chore: updates --- public/locales/en/common.json | 2 +- public/locales/zh/common.json | 2 +- src/app/services/base.query.ts | 1 - src/routes/setting/BotConfig/index.tsx | 1 + 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 1830b00c..d55ce829 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -9,7 +9,7 @@ "login": "Sign In", "re_login": "Logout", "logout": "Log Out", - "change_avatar": "Change Avatar", + "change_avatar": "Change", "cancel": "Cancel", "dismiss": "Dismiss", "search": "Search", diff --git a/public/locales/zh/common.json b/public/locales/zh/common.json index cda2ffb6..cc5ea6c2 100644 --- a/public/locales/zh/common.json +++ b/public/locales/zh/common.json @@ -9,7 +9,7 @@ "login": "登录", "re_login": "重新登录", "logout": "退出登录", - "change_avatar": "修改头像", + "change_avatar": "修改", "cancel": "取消", "dismiss": "关闭", "new_channel": "新建频道", diff --git a/src/app/services/base.query.ts b/src/app/services/base.query.ts index 12386739..38ce6c35 100644 --- a/src/app/services/base.query.ts +++ b/src/app/services/base.query.ts @@ -5,7 +5,6 @@ import dayjs from "dayjs"; import { getLocalAuthData } from "@/utils"; import BASE_URL, { tokenHeader } from "../config"; import { resetAuthData, updateToken } from "../slices/auth.data"; -import { RootState } from "../store"; const whiteList = [ "guestLogin", diff --git a/src/routes/setting/BotConfig/index.tsx b/src/routes/setting/BotConfig/index.tsx index b81d46ea..ec47dfae 100644 --- a/src/routes/setting/BotConfig/index.tsx +++ b/src/routes/setting/BotConfig/index.tsx @@ -113,6 +113,7 @@ export default function BotConfig() { >