Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove goBack
  • Loading branch information
matiasbenedetto committed Oct 1, 2024
commit bf15984f0b93aba04c9345dc444ab881a2973467
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ function FontSize() {

const {
params: { origin, slug },
goBack,
goTo,
} = useNavigator();

Expand Down Expand Up @@ -127,7 +126,7 @@ function FontSize() {
if ( ! fontSize ) {
goTo( '/typography/font-sizes/' );
}
}, [ fontSize, goBack ] );
}, [ fontSize, goTo ] );

// Avoid rendering if the font size is not available.
if ( ! fontSize ) {
Expand Down