File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ function HerbieUIInner() {
272272
273273 const fileKey = Object . keys ( response . data . files ) [ 0 ] ;
274274
275- if ( fileKey . length === 0 ) throw new Error ( "No files found in Gist." ) ;
275+ if ( fileKey . length === 0 ) { throw new Error ( "No files found in Gist." ) ; }
276276
277277 const rawUrl = response . data . files [ fileKey ] . raw_url ;
278278
@@ -336,7 +336,7 @@ function HerbieUIInner() {
336336
337337 const gistId = queryParams . get ( 'gist' ) ;
338338
339- if ( gistId != null ) {
339+ if ( gistId !== null ) {
340340 loadSpecFromGist ( gistId ) ;
341341 }
342342 }
@@ -404,7 +404,7 @@ function HerbieUIInner() {
404404
405405 const json_url = queryParams . get ( 'json_url' ) ;
406406
407- if ( json_url != null ) {
407+ if ( json_url !== null ) {
408408 loadStateFromURLInner ( json_url ) ;
409409 }
410410 }
You can’t perform that action at this time.
0 commit comments