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 <mamaduka@git.wordpress.org>
Co-authored-by: mikachan <mikachan@git.wordpress.org>
Co-authored-by: annezazu <annezazu@git.wordpress.org>
Co-authored-by: madhusudhand <madhudollu@git.wordpress.org>
  • Loading branch information
5 people authored and getdave committed Mar 25, 2024
1 parent b9e73ef commit b5df3f3
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 b5df3f3

Please sign in to comment.