File tree Expand file tree Collapse file tree
packages/template/src/components-page Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,11 +61,9 @@ export function CliAuthConfirmation({ fullPage = true }: { fullPage?: boolean })
6161 < MessageCard
6262 title = { t ( "CLI Authorization Successful" ) }
6363 fullPage = { fullPage }
64- primaryButtonText = { t ( "Close" ) }
65- primaryAction = { ( ) => window . close ( ) }
6664 >
6765 < Typography >
68- { t ( "The CLI application has been authorized successfully. You can now close this window and return to the command line." ) }
66+ { t ( "The CLI application has been authorized successfully. You can close this window and return to the command line." ) }
6967 </ Typography >
7068 </ MessageCard >
7169 ) ;
@@ -78,8 +76,6 @@ export function CliAuthConfirmation({ fullPage = true }: { fullPage?: boolean })
7876 fullPage = { fullPage }
7977 primaryButtonText = { t ( "Try Again" ) }
8078 primaryAction = { ( ) => setError ( null ) }
81- secondaryButtonText = { t ( "Cancel" ) }
82- secondaryAction = { ( ) => window . close ( ) }
8379 >
8480 < Typography className = "text-red-600" >
8581 { t ( "Failed to authorize the CLI application:" ) }
@@ -97,8 +93,6 @@ export function CliAuthConfirmation({ fullPage = true }: { fullPage?: boolean })
9793 fullPage = { fullPage }
9894 primaryButtonText = { authorizing ? t ( "Authorizing..." ) : t ( "Authorize" ) }
9995 primaryAction = { handleAuthorize }
100- secondaryButtonText = { t ( "Cancel" ) }
101- secondaryAction = { ( ) => window . close ( ) }
10296 >
10397 < Typography >
10498 { t ( "A command line application is requesting access to your account. Click the button below to authorize it." ) }
You can’t perform that action at this time.
0 commit comments