Skip to content

Commit

Permalink
Dashboard: Prevent console warnings when toggling on some Jetpack set…
Browse files Browse the repository at this point in the history
…tings (#40164)
  • Loading branch information
coder-karen authored Nov 15, 2024
1 parent af007b7 commit 699270e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class ModuleToggleComponent extends Component {
render() {
return (
<ToggleControl
checked={ this.props.activated || this.props.isModuleActivated }
checked={ this.props.activated }
toggling={ this.props.toggling }
className={ this.props.className }
disabled={ this.props.disabled || this.isDisabledByOverride() }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: compat

Dashboard: Fix toggle component to prevent console warnings.

0 comments on commit 699270e

Please sign in to comment.