File tree Expand file tree Collapse file tree 2 files changed +8
-16
lines changed
Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 11import { Button } from "@/components/ui/button" ;
2- import { ExternalLinkIcon , MoreVertical } from "lucide-react" ;
3- import { Id } from "../../../convex/_generated/dataModel" ;
42import {
5- DropdownMenu ,
6- DropdownMenuContent ,
7- DropdownMenuItem ,
8- DropdownMenuTrigger ,
3+ DropdownMenu ,
4+ DropdownMenuContent ,
5+ DropdownMenuItem ,
6+ DropdownMenuTrigger ,
97} from "@/components/ui/dropdown-menu" ;
8+ import { ExternalLinkIcon , MoreVertical } from "lucide-react" ;
9+ import { Id } from "../../../convex/_generated/dataModel" ;
1010
1111type Props = {
1212 documentId : Id < "documents" > ;
1313 title : string ;
1414 onNewTab : ( id : Id < "documents" > ) => void ;
1515} ;
1616
17- export const DocumentMenu : React . FC < Props > = ( {
18- documentId,
19- title,
20- onNewTab,
21- } ) => {
17+ export const DocumentMenu : React . FC < Props > = ( { documentId, onNewTab } ) => {
2218 return (
2319 < >
2420 < DropdownMenu >
Original file line number Diff line number Diff line change @@ -18,11 +18,7 @@ type Props = {
1818 status : PaginationStatus ;
1919} ;
2020
21- export const DocumentTable : React . FC < Props > = ( {
22- documents,
23- status,
24- loadMore,
25- } ) => {
21+ export const DocumentTable : React . FC < Props > = ( { documents } ) => {
2622 return (
2723 < div className = "max-w-screen-xl mx-auto px-16 py-6 flex flex-col gap-5" >
2824 { documents === undefined ? (
You can’t perform that action at this time.
0 commit comments