diff --git a/src/common/enums/index.ts b/src/common/enums/index.ts index 3240065af2..e5c969e9d5 100644 --- a/src/common/enums/index.ts +++ b/src/common/enums/index.ts @@ -44,9 +44,6 @@ export const GQL_CONTEXT_PUBLIC_QUERY_KEY = 'publicQuery' export const VERIFICATION_CODE_TYPES = { register: 'register', - email_reset: 'email_reset', - email_reset_confirm: 'email_reset_confirm', - password_reset: 'password_reset', payment_password_reset: 'payment_password_reset', } diff --git a/src/common/enums/oauth.ts b/src/common/enums/oauth.ts index d310f3032b..53e9fe7788 100644 --- a/src/common/enums/oauth.ts +++ b/src/common/enums/oauth.ts @@ -99,30 +99,6 @@ export const OAUTH_SCOPE_TREE = { zh_hans: '关注标签', }, }, - updateTagSetting: { - _t: { - zh_hant: '管理標籤', - zh_hans: '管理标签', - }, - }, - addArticlesTags: { - _t: { - zh_hant: '添加作品到標籤', - zh_hans: '添加作品到标签', - }, - }, - updateArticlesTags: { - _t: { - zh_hant: '管理標籤作品', - zh_hans: '管理标签作品', - }, - }, - deleteArticlesTags: { - _t: { - zh_hant: '移除標籤作品', - zh_hans: '移除标签作品', - }, - }, togglePinComment: { _t: { zh_hant: '精选評論', @@ -279,12 +255,6 @@ export const OAUTH_SCOPE_TREE = { zh_hans: '文件(图片、音频等)上传', }, }, - changeEmail: { - _t: { - zh_hant: '修改電子信箱', - zh_hans: '修改邮箱', - }, - }, clearReadHistory: { _t: { zh_hant: '清空閱讀歷史', diff --git a/src/components/GQL/queries/walletBalance.ts b/src/components/GQL/queries/walletBalance.ts index 292f0edad4..27f7827bc5 100644 --- a/src/components/GQL/queries/walletBalance.ts +++ b/src/components/GQL/queries/walletBalance.ts @@ -14,7 +14,6 @@ export default gql` } liker { total - rateUSD } } } diff --git a/src/views/Me/DraftDetail/Sidebar/index.tsx b/src/views/Me/DraftDetail/Sidebar/index.tsx index 816cf36e1f..0f685600ad 100644 --- a/src/views/Me/DraftDetail/Sidebar/index.tsx +++ b/src/views/Me/DraftDetail/Sidebar/index.tsx @@ -151,11 +151,13 @@ const EditDraftCampaign = ({ draft, campaigns }: SidebarProps) => { }) return ( - + <> + + ) } diff --git a/src/views/Me/Wallet/Balance/LikeCoin.tsx b/src/views/Me/Wallet/Balance/LikeCoin.tsx index f188712a41..8415ffa359 100644 --- a/src/views/Me/Wallet/Balance/LikeCoin.tsx +++ b/src/views/Me/Wallet/Balance/LikeCoin.tsx @@ -31,7 +31,6 @@ const VIEWER_LIKE_BALANCE = gql` id liker { total - rateUSD } } }