mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-05 20:15:31 -04:00
do react types more better too 🧠
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { ActivityCalendar } from "react-activity-calendar";
|
||||
import { ActivityCalendar, type Activity } from "react-activity-calendar";
|
||||
import { formatDate } from "@/lib/date";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
import type { Activity } from "react-activity-calendar";
|
||||
import { Tooltip, TooltipTrigger, TooltipContent } from "@/components/ui/tooltip";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
@@ -12,7 +10,7 @@ const Calendar = ({
|
||||
noun = "thing",
|
||||
className,
|
||||
...rest
|
||||
}: ComponentPropsWithoutRef<"div"> & {
|
||||
}: React.ComponentProps<"div"> & {
|
||||
data: Activity[];
|
||||
noun?: string;
|
||||
}) => {
|
||||
|
||||
Reference in New Issue
Block a user