Skip to content

Commit 6b5f896

Browse files
committed
chore: clean
1 parent abdd790 commit 6b5f896

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

src/app/(home)/document-menu.tsx

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
11
import { Button } from "@/components/ui/button";
2-
import { ExternalLinkIcon, MoreVertical } from "lucide-react";
3-
import { Id } from "../../../convex/_generated/dataModel";
42
import {
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

1111
type 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>

src/app/(home)/document-table.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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 ? (

0 commit comments

Comments
 (0)