Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Font size presets UI #63057

Open
wants to merge 18 commits into
base: trunk
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
redirect to font sizes
  • Loading branch information
matiasbenedetto committed Jul 4, 2024
commit 2d1f9570e2ff4f01d6987190ab68a52c68955ef8
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function ConfirmDeleteFontSizeDialog( {
const handleConfirm = async () => {
toggleOpen();
handleRemoveFontSize( fontSize );
navigator.goTo( '/typography/' );
navigator.goTo( '/typography/font-sizes/' );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need navitator.goTo() because we have goBack() here.

};

const handleCancel = () => {
Expand Down
Loading