From e137324e987f8222edb67c112d9289c45934fa85 Mon Sep 17 00:00:00 2001 From: KazooTTT Date: Sat, 12 Oct 2024 12:59:59 +0800 Subject: [PATCH] refactor: remove useless var --- src/components/GithubHotLine.tsx | 1 - src/components/blog/Hero.astro | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/GithubHotLine.tsx b/src/components/GithubHotLine.tsx index a7be970..4f44546 100644 --- a/src/components/GithubHotLine.tsx +++ b/src/components/GithubHotLine.tsx @@ -1,5 +1,4 @@ import GitHubCalendar from "react-github-calendar"; -import React from "react"; const GithubHotLine = () => { return ( diff --git a/src/components/blog/Hero.astro b/src/components/blog/Hero.astro index b575bfb..54430a9 100644 --- a/src/components/blog/Hero.astro +++ b/src/components/blog/Hero.astro @@ -76,7 +76,7 @@ const dateTimeOptions: Intl.DateTimeFormatOptions = {
- {data.tags.map((tag, i) => ( + {data.tags.map((tag) => (