Skip to content

Commit 0246bfc

Browse files
committed
chore: remove debug button
1 parent 34db7ca commit 0246bfc

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

packages/mask/content-script/components/InjectedComponents/ToolboxUnstyled.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import { makeStyles } from '@masknet/theme'
3131
import GuideStep from '../GuideStep/index.js'
3232
import { useOpenApplicationBoardDialog } from '../shared/openApplicationBoardDialog.js'
3333
import { Trans } from '@lingui/react/macro'
34-
import Services from '#services'
3534

3635
const useStyles = makeStyles()(() => ({
3736
title: {
@@ -100,19 +99,6 @@ function ToolboxHintForApplication(props: ToolboxHintProps) {
10099
/>
101100
)}
102101
</ListItemButton>
103-
<ListItemButton
104-
onClick={() =>
105-
// eslint-disable-next-line no-alert
106-
Services.Helper.requestXOAuthToken().then((result) => alert(JSON.stringify(result)))
107-
}>
108-
<ListItemText
109-
primary={
110-
<Box>
111-
<Typography className={classes.title}>Temp: OAuth X</Typography>
112-
</Box>
113-
}
114-
/>
115-
</ListItemButton>
116102
</Container>
117103
</GuideStep>
118104
)

0 commit comments

Comments
 (0)