From b16fa5e21a3852151c6b3d3d5569154d863d1795 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 1 Feb 2026 19:26:23 +0000 Subject: chore: replace dayjs with data-fns --- apps/web/components/dashboard/highlights/AllHighlights.tsx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'apps/web/components/dashboard/highlights') diff --git a/apps/web/components/dashboard/highlights/AllHighlights.tsx b/apps/web/components/dashboard/highlights/AllHighlights.tsx index 0b90714a..c7e809ec 100644 --- a/apps/web/components/dashboard/highlights/AllHighlights.tsx +++ b/apps/web/components/dashboard/highlights/AllHighlights.tsx @@ -7,8 +7,6 @@ import { Input } from "@/components/ui/input"; import useRelativeTime from "@/lib/hooks/relative-time"; import { Separator } from "@radix-ui/react-dropdown-menu"; import { useInfiniteQuery } from "@tanstack/react-query"; -import dayjs from "dayjs"; -import relativeTime from "dayjs/plugin/relativeTime"; import { Dot, LinkIcon, Search, X } from "lucide-react"; import { useTranslation } from "react-i18next"; import { useInView } from "react-intersection-observer"; @@ -22,8 +20,6 @@ import { import HighlightCard from "./HighlightCard"; -dayjs.extend(relativeTime); - function Highlight({ highlight }: { highlight: ZHighlight }) { const { fromNow, localCreatedAt } = useRelativeTime(highlight.createdAt); const { t } = useTranslation(); -- cgit v1.2.3-70-g09d2