Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove unused #4937

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/common/enums/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}

Expand Down
30 changes: 0 additions & 30 deletions src/common/enums/oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: '精选評論',
Expand Down Expand Up @@ -279,12 +255,6 @@ export const OAUTH_SCOPE_TREE = {
zh_hans: '文件(图片、音频等)上传',
},
},
changeEmail: {
_t: {
zh_hant: '修改電子信箱',
zh_hans: '修改邮箱',
},
},
clearReadHistory: {
_t: {
zh_hant: '清空閱讀歷史',
Expand Down
1 change: 0 additions & 1 deletion src/components/GQL/queries/walletBalance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default gql`
}
liker {
total
rateUSD
}
}
}
Expand Down
12 changes: 7 additions & 5 deletions src/views/Me/DraftDetail/Sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,13 @@ const EditDraftCampaign = ({ draft, campaigns }: SidebarProps) => {
})

return (
<Sidebar.Campaign
appliedCampaign={appliedCampaign}
selectedStage={selectedStage}
editCampaign={edit}
/>
<>
<Sidebar.Campaign
appliedCampaign={appliedCampaign}
selectedStage={selectedStage}
editCampaign={edit}
/>
</>
)
}

Expand Down
1 change: 0 additions & 1 deletion src/views/Me/Wallet/Balance/LikeCoin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ const VIEWER_LIKE_BALANCE = gql`
id
liker {
total
rateUSD
}
}
}
Expand Down
Loading