Merge pull request #36 from HaecheonLee/bug/fix-class-name-evaluated-by-short-circuit

Fix class name evaluated by short circuit
This commit is contained in:
1ilit 2024-04-12 04:10:54 +03:00 committed by GitHub
commit 93b924aec7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 (
<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);