Skip to content

Commit

Permalink
[not verified] Opentable: Remove noticeOperations from the useEffect …
Browse files Browse the repository at this point in the history
…dependencies (#19043)
  • Loading branch information
pablinos authored and jeherve committed Mar 5, 2021
1 parent 5583f8d commit 32f5ddf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/plugins/jetpack/extensions/blocks/opentable/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ function OpenTableEdit( {
);
noticeOperations.createNotice( { status: 'warning', content } );
}
}, [ __isBlockPreview, align, isPlaceholder, noticeOperations, rid, style ] );
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [ __isBlockPreview, align, isPlaceholder, rid, style ] );

// Don't allow button style with multiple restaurant IDs.
useEffect( () => {
Expand Down

0 comments on commit 32f5ddf

Please sign in to comment.