Skip to content

Commit

Permalink
Merge pull request #36 from HaecheonLee/bug/fix-class-name-evaluated-…
Browse files Browse the repository at this point in the history
…by-short-circuit

Fix class name evaluated by short circuit
  • Loading branch information
1ilit authored Apr 12, 2024
2 parents 217b7e8 + eadcff0 commit 93b924a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/EditorCanvas/Table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function Table(props) {
.getElementById(`scroll_table_${tableData.id}`)
.scrollIntoView({ behavior: "smooth" });
}
}
};

return (
<>
Expand Down Expand Up @@ -260,7 +260,9 @@ export default function Table(props) {
return (
<div
className={`${
index === tableData.fields.length - 1 || "border-b border-gray-400"
index === tableData.fields.length - 1
? ""
: "border-b border-gray-400"
} group h-[36px] px-2 py-1 flex justify-between items-center gap-1 w-full overflow-hidden`}
onMouseEnter={() => {
setHoveredField(index);
Expand Down

0 comments on commit 93b924a

Please sign in to comment.