From fa659e96da96baf911c3eec85bfacd2f29234bab Mon Sep 17 00:00:00 2001 From: oiov Date: Fri, 25 Apr 2025 16:21:29 +0800 Subject: [PATCH] fixup crash --- app/(protected)/dashboard/scrape/logs.tsx | 30 +++++++++++++---------- lib/dto/scrape.ts | 6 +++++ public/sw.js.map | 2 +- 3 files changed, 24 insertions(+), 14 deletions(-) diff --git a/app/(protected)/dashboard/scrape/logs.tsx b/app/(protected)/dashboard/scrape/logs.tsx index 89d958b..8d6ab66 100644 --- a/app/(protected)/dashboard/scrape/logs.tsx +++ b/app/(protected)/dashboard/scrape/logs.tsx @@ -101,18 +101,22 @@ const LogsTable = ({ userId, target }) => { onChange={(e) => handleFilterChange("ip", e.target.value)} className="h-8 max-w-xs placeholder:text-xs" /> - handleFilterChange("name", e.target.value)} - className="h-8 max-w-xs placeholder:text-xs" - /> - handleFilterChange("email", e.target.value)} - className="h-8 max-w-xs placeholder:text-xs" - /> + { + <> + handleFilterChange("name", e.target.value)} + className="h-8 max-w-xs placeholder:text-xs" + /> + handleFilterChange("email", e.target.value)} + className="h-8 max-w-xs placeholder:text-xs" + /> + + }