Skip to content

Commit

Permalink
fix the refersh call for the library
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Crist <146530+pbking@users.noreply.github.com>
Co-authored-by: Jeff Ong <5375500+jffng@users.noreply.github.com>
  • Loading branch information
3 people committed Sep 29, 2023
1 parent be038aa commit 170ebd9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ function InstalledFonts() {

useEffect( () => {
refreshLibrary();
}, [ refreshLibrary ] );
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [] );

// Reset notice after 5 seconds
useEffect( () => {
Expand Down

0 comments on commit 170ebd9

Please sign in to comment.