diff options
| author | Mohamed Bassem <me@mbassem.com> | 2026-02-01 19:26:23 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2026-02-01 19:26:23 +0000 |
| commit | b16fa5e21a3852151c6b3d3d5569154d863d1795 (patch) | |
| tree | 4550462032a98c44a2c0581982e6676dee3d099b /apps/web/components/dashboard/highlights | |
| parent | 45db6147032071d270fbf2b577a234393247d921 (diff) | |
| download | karakeep-b16fa5e21a3852151c6b3d3d5569154d863d1795.tar.zst | |
chore: replace dayjs with data-fns
Diffstat (limited to 'apps/web/components/dashboard/highlights')
| -rw-r--r-- | apps/web/components/dashboard/highlights/AllHighlights.tsx | 4 |
1 files changed, 0 insertions, 4 deletions
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(); |
