Skip to content

Commit

Permalink
Font Library: Reset notices when navigating away from the collection (#…
Browse files Browse the repository at this point in the history
…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 tellthemachines committed Apr 9, 2024
1 parent 16546be commit f9a655d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ function FontCollection( { slug } ) {
isSmall
onClick={ () => {
setSelectedFont( null );
setNotice( null );
} }
aria-label={ __( 'Navigate to the previous view' ) }
/>
Expand Down

0 comments on commit f9a655d

Please sign in to comment.