Skip to content

Commit

Permalink
Block Editor: Fix ESLint warning for the 'useBlockEditingMode' hook (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka authored Aug 1, 2023
1 parent 52f2bc8 commit 6bbff4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ export function useBlockEditingMode( mode ) {
unsetBlockEditingMode( clientId );
}
};
}, [ clientId, mode ] );
}, [ clientId, mode, setBlockEditingMode, unsetBlockEditingMode ] );
return blockEditingMode;
}

1 comment on commit 6bbff4c

@github-actions
Copy link

Choose a reason for hiding this comment

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

Flaky tests detected in 6bbff4c.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5730174309
📝 Reported issues:

Please sign in to comment.