Skip to content

Commit

Permalink
Clear error when navigating though clickScreenLink
Browse files Browse the repository at this point in the history
  • Loading branch information
renintw committed Jun 1, 2023
1 parent cb63d73 commit a3582a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions settings/src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ function Main( { userId } ) {
currentUrl.searchParams.set( 'screen', nextScreen );
window.history.pushState( {}, '', currentUrl );

setError( '' );
setGlobalNotice( '' );
setScreen( nextScreen );
},
Expand Down

0 comments on commit a3582a0

Please sign in to comment.