Naming fix

This commit is contained in:
DwCay
2022-05-26 22:34:07 +03:00
parent e6142b1402
commit 5fca3bdc4e
7 changed files with 46 additions and 53 deletions

View File

@@ -13,8 +13,13 @@ function ValidateTableItem(props) {
}
};
function openValidatePanel (event) {
event.stopPropagation()
props.setValidatePanelOpen(true)
}
return (
<tr className="hover:bg-[#E2E8F0] cursor-pointer" onClick={(e) => { e.stopPropagation(); props.setValidatePanelOpen(true); }}>
<tr className="hover:bg-[#E2E8F0] cursor-pointer" onClick={(e) => openValidatePanel(e)}>
<td className="px-2 first:pl-5 last:pr-5 py-3 whitespace-nowrap w-px">
<div className="flex items-center">
<label className="inline-flex">