File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
static/gsAdmin/views/instanceLevelOAuth/components Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 11import { Fragment } from 'react' ;
22
33import type { ModalRenderProps } from 'sentry/actionCreators/modal' ;
4- import { Button } from 'sentry/components/core/button' ;
5- import { browserHistory } from 'sentry/utils/browserHistory' ;
4+ import { LinkButton } from 'sentry/components/core/button' ;
65
76interface ClientDetails {
87 clientID : string ;
@@ -23,12 +22,9 @@ function ClientSecretModal({
2322 Your client secret is < b > { clientSecret } </ b >
2423 </ p >
2524 < p > Make sure you save this now! You will not be able to see it again later.</ p >
26- < Button
27- priority = "danger"
28- onClick = { ( ) => browserHistory . push ( `/_admin/instance-level-oauth/${ clientID } /` ) }
29- >
25+ < LinkButton priority = "danger" to = { `/_admin/instance-level-oauth/${ clientID } /` } >
3026 I understand, take me to the rest of my client details.
31- </ Button >
27+ </ LinkButton >
3228 </ Body >
3329 </ Fragment >
3430 ) ;
You can’t perform that action at this time.
0 commit comments