Skip to content

Commit

Permalink
Font Library: Reset notices when navigating away from the collection (W…
Browse files Browse the repository at this point in the history
…ordPress#59981)


Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: mikachan <[email protected]>
Co-authored-by: annezazu <[email protected]>
Co-authored-by: madhusudhand <[email protected]>
  • Loading branch information
5 people authored and carstingaxion committed Mar 27, 2024
1 parent 87052d1 commit e68dd4d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ function FontCollection( { slug } ) {
size="small"
onClick={ () => {
setSelectedFont( null );
setNotice( null );
} }
label={ __( 'Back' ) }
/>
Expand Down

0 comments on commit e68dd4d

Please sign in to comment.