Skip to content

Commit 3d1729b

Browse files
committed
temp: let the button display on prod for test
1 parent 98c77fe commit 3d1729b

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

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

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -100,21 +100,19 @@ function ToolboxHintForApplication(props: ToolboxHintProps) {
100100
/>
101101
)}
102102
</ListItemButton>
103-
{process.env.NODE_ENV === 'development' ?
104-
<ListItemButton
105-
onClick={() =>
106-
// eslint-disable-next-line no-alert
107-
Services.Helper.requestXOAuthToken().then((result) => alert(JSON.stringify(result)))
108-
}>
109-
<ListItemText
110-
primary={
111-
<Box>
112-
<Typography className={classes.title}>Temp: OAuth X</Typography>
113-
</Box>
114-
}
115-
/>
116-
</ListItemButton>
117-
: null}
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>
118116
</Container>
119117
</GuideStep>
120118
)

0 commit comments

Comments
 (0)