Skip to content

Commit b95f3cd

Browse files
committed
added icon for list
1 parent 043c1be commit b95f3cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/classrooms/[classroomId]/upload/uploadComponent.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import {
2020
import { Skeleton } from "@shared/components/ui/skeleton";
2121
import { ScrollArea } from "@shared/components/ui/scroll-area";
2222
import { toast } from "sonner";
23+
import { SquareArrowOutUpRight } from "lucide-react";
2324

2425
type UploadedFile = {
2526
id: string;
@@ -204,7 +205,7 @@ function FileList({ uploadedFiles }: { uploadedFiles: UploadedFile[] }) {
204205
target="_blank"
205206
className="font-medium hover:underline"
206207
>
207-
{file.name}
208+
{file.name}<SquareArrowOutUpRight className="inline scale-75"/>
208209
</Link>
209210
<p className="text-sm text-muted-foreground">
210211
{(file.size / 1024).toFixed(2)} KB - {file.type} -{" "}

0 commit comments

Comments
 (0)