From 674ec6b0e63f989f8f3171d42aaa379f900f394a Mon Sep 17 00:00:00 2001 From: Marc Toensing Date: Mon, 27 May 2024 14:24:06 +0200 Subject: [PATCH] lint --- src/edit.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/edit.js b/src/edit.js index e47219c..d49a61c 100644 --- a/src/edit.js +++ b/src/edit.js @@ -37,7 +37,9 @@ export default function Edit( { attributes, setAttributes } ) { // Effect to adjust hideTOC based on hidden or accordion attributes useEffect( () => { // If hideTOC is already set, no need to adjust - if ( hideTOC !== undefined ) return; + if ( hideTOC !== undefined ) { + return; + } // Determine if we need to activate hideTOC based on hidden or accordion if ( hidden || accordion ) {