From eadcff091a5e7223275e25d95f63db35d822d9ee Mon Sep 17 00:00:00 2001 From: haecheonlee Date: Thu, 11 Apr 2024 20:11:33 -0400 Subject: [PATCH] Fix class name evaluated by short circuit --- src/components/EditorCanvas/Table.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/EditorCanvas/Table.jsx b/src/components/EditorCanvas/Table.jsx index 0c385fa0..6f730567 100644 --- a/src/components/EditorCanvas/Table.jsx +++ b/src/components/EditorCanvas/Table.jsx @@ -53,7 +53,7 @@ export default function Table(props) { .getElementById(`scroll_table_${tableData.id}`) .scrollIntoView({ behavior: "smooth" }); } - } + }; return ( <> @@ -260,7 +260,9 @@ export default function Table(props) { return (
{ setHoveredField(index);