Skip to content

Commit

Permalink
Tweak: prevent double click on toggle option to avoid error
Browse files Browse the repository at this point in the history
Tweak: prevent overlapping "cta" and "upsell" button on text below
Fix: critical css generation not working
Fix: automatic critical css generation showed always as disabled
Fix: show all toggle as off when jetpack is disabled
  • Loading branch information
AleTorrisi committed Feb 5, 2025
1 parent 83d61c9 commit 63dc37f
Show file tree
Hide file tree
Showing 7 changed files with 563 additions and 355 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@ const InstallActivatePluginButton = ( {
setMessage( constants.text.jetpackBoostActivationFailed );
} finally {
setIsLoading( false );
window.location.reload();
}
};

return (
<div className="nfd-performance-jetpack-boost-container-install-activate-button">
<button
className="nfd-button--upsell"
className="nfd-button--upsell nfd-shadow-lg nfd-shadow-amber-700/30"
onClick={ handleInstallActivate }
>
{ isLoading ? (
Expand Down
184 changes: 0 additions & 184 deletions components/advancedSettings/JetpackBoost/SingleOption.js

This file was deleted.

Loading

0 comments on commit 63dc37f

Please sign in to comment.