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
Sandbox: ignore exhaustive-deps warning in native file
  • Loading branch information
chad1008 committed Sep 26, 2022
commit eab474c323923b7b3b196e2f2b8219d75d1f0167
3 changes: 3 additions & 0 deletions packages/components/src/sandbox/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,9 @@ function Sandbox( {

useEffect( () => {
updateContentHtml();
// Disable reason: deferring this refactor to the native team.
// see https://github.com/WordPress/gutenberg/pull/41166
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [ html, title, type, styles, scripts ] );

useEffect( () => {
Expand Down