From 3c93697403f482cbcd78c51460432f3ee2559ef3 Mon Sep 17 00:00:00 2001 From: oiov Date: Tue, 12 Nov 2024 15:07:21 +0800 Subject: [PATCH] fixup --- app/(protected)/dashboard/records/record-list.tsx | 3 +-- lib/dto/scrape.ts | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/(protected)/dashboard/records/record-list.tsx b/app/(protected)/dashboard/records/record-list.tsx index df27fd9..8dfe658 100644 --- a/app/(protected)/dashboard/records/record-list.tsx +++ b/app/(protected)/dashboard/records/record-list.tsx @@ -1,6 +1,6 @@ "use client"; -import { useRef, useState } from "react"; +import { useState } from "react"; import Link from "next/link"; import { User } from "@prisma/client"; import { PenLine, RefreshCwIcon } from "lucide-react"; @@ -36,7 +36,6 @@ import { TooltipTrigger, } from "@/components/ui/tooltip"; import CountUpFn from "@/components/dashboard/count-up"; -import StatusDot from "@/components/dashboard/status-dot"; import { FormType, RecordForm } from "@/components/forms/record-form"; import { EmptyPlaceholder } from "@/components/shared/empty-placeholder"; import { Icons } from "@/components/shared/icons"; diff --git a/lib/dto/scrape.ts b/lib/dto/scrape.ts index 5306160..2a9f64e 100644 --- a/lib/dto/scrape.ts +++ b/lib/dto/scrape.ts @@ -19,6 +19,7 @@ async function findOrCreateScrapeMeta(data) { where: { ip: data.ip, type: data.type, + link: data.link, }, });