Skip to content

Commit 674ec6b

Browse files
committed
lint
1 parent 292cb5f commit 674ec6b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/edit.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ export default function Edit( { attributes, setAttributes } ) {
3737
// Effect to adjust hideTOC based on hidden or accordion attributes
3838
useEffect( () => {
3939
// If hideTOC is already set, no need to adjust
40-
if ( hideTOC !== undefined ) return;
40+
if ( hideTOC !== undefined ) {
41+
return;
42+
}
4143

4244
// Determine if we need to activate hideTOC based on hidden or accordion
4345
if ( hidden || accordion ) {

0 commit comments

Comments
 (0)