From 32f5ddf191b6e58498570155f75e78e997e19ed9 Mon Sep 17 00:00:00 2001 From: Paul Bunkham Date: Fri, 5 Mar 2021 12:29:02 +0000 Subject: [PATCH] [not verified] Opentable: Remove noticeOperations from the useEffect dependencies (#19043) --- projects/plugins/jetpack/extensions/blocks/opentable/edit.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/plugins/jetpack/extensions/blocks/opentable/edit.js b/projects/plugins/jetpack/extensions/blocks/opentable/edit.js index ffd92243235ca..8c35675d577f6 100644 --- a/projects/plugins/jetpack/extensions/blocks/opentable/edit.js +++ b/projects/plugins/jetpack/extensions/blocks/opentable/edit.js @@ -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( () => {