further clean up with trick
This commit is contained in:
@@ -6,9 +6,11 @@ import { ILineDetails } from "../../../pages/router/index";
|
||||
import LineIcon from "../lineIcon";
|
||||
|
||||
export default function LineRow({
|
||||
id,
|
||||
lineDetails,
|
||||
onClick,
|
||||
}: {
|
||||
id: string;
|
||||
lineDetails: ILineDetails;
|
||||
onClick: (lineId: string) => void;
|
||||
}) {
|
||||
@@ -80,7 +82,7 @@ export default function LineRow({
|
||||
return (
|
||||
<div
|
||||
onClick={handleSelectLine}
|
||||
id={lineDetails.lineId}
|
||||
id={id}
|
||||
className="flex flex-row items-center justify-start gap-2 p-2 px-4 h-14 hover:bg-gray-200 cursor-pointer transition-all
|
||||
last:border-b-0 border-b border-b-gray-200"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user