diff --git a/src/components/github-activity-days.tsx b/src/components/github-activity-days.tsx index 1335773..420b248 100644 --- a/src/components/github-activity-days.tsx +++ b/src/components/github-activity-days.tsx @@ -8,6 +8,7 @@ import { LockKeyhole, } from "lucide-react"; import Image from "next/image"; +import { useState } from "react"; import { DateTime } from "@/components/date-time"; import { LanguageIcon } from "@/components/language-icon"; @@ -229,7 +230,7 @@ function IssueRow({ }: Readonly<{ item: Extract; }>) { - const Row = item.destination === null ? "div" : "a"; + const [expanded, setExpanded] = useState(false); const status = item.status ?? "open"; const Icon = status === "open" @@ -242,15 +243,16 @@ function IssueRow({ ? "Issue closed as not planned" : `Issue ${status}`; return ( -
  • - +
  • ); }