Skip to content

Commit 2d46781

Browse files
committed
Removed old row onClick and to props
1 parent ab32e4d commit 2d46781

File tree

1 file changed

+1
-3
lines changed
  • apps/webapp/app/components/primitives

1 file changed

+1
-3
lines changed

apps/webapp/app/components/primitives/Table.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ChevronRightIcon } from "@heroicons/react/24/solid";
2-
import { Link, useNavigate } from "@remix-run/react";
2+
import { Link } from "@remix-run/react";
33
import React, { ReactNode, forwardRef, useState } from "react";
44
import { cn } from "~/utils/cn";
55
import { Popover, PopoverContent, PopoverVerticalEllipseTrigger } from "./Popover";
@@ -71,8 +71,6 @@ type TableRowProps = {
7171
children: ReactNode;
7272
disabled?: boolean;
7373
isSelected?: boolean;
74-
to?: string;
75-
onClick?: (event: React.KeyboardEvent | React.MouseEvent) => void;
7674
};
7775

7876
export const TableRow = forwardRef<HTMLTableRowElement, TableRowProps>(

0 commit comments

Comments
 (0)