File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -246,11 +246,18 @@ export const OAuthFlowProgress = ({
246246 onClick = { ( ) => {
247247 try {
248248 validateRedirectUrl ( authState . authorizationUrl ! ) ;
249- window . open ( authState . authorizationUrl ! , "_blank" ) ;
249+ window . open (
250+ authState . authorizationUrl ! ,
251+ "_blank" ,
252+ "noopener noreferrer" ,
253+ ) ;
250254 } catch ( error ) {
251255 toast ( {
252256 title : "Invalid URL" ,
253- description : error instanceof Error ? error . message : "The authorization URL is not valid" ,
257+ description :
258+ error instanceof Error
259+ ? error . message
260+ : "The authorization URL is not valid" ,
254261 variant : "destructive" ,
255262 } ) ;
256263 }
@@ -373,7 +380,10 @@ export const OAuthFlowProgress = ({
373380 } catch ( error ) {
374381 toast ( {
375382 title : "Invalid URL" ,
376- description : error instanceof Error ? error . message : "The authorization URL is not valid" ,
383+ description :
384+ error instanceof Error
385+ ? error . message
386+ : "The authorization URL is not valid" ,
377387 variant : "destructive" ,
378388 } ) ;
379389 }
You can’t perform that action at this time.
0 commit comments