From 9ed830b66fa3fea6c986a8246d75bd10b68e471d Mon Sep 17 00:00:00 2001 From: kazuya suzuki <83203852+namidapoo@users.noreply.github.com> Date: Sun, 29 Dec 2024 22:16:10 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E8=A8=80=E8=AA=9E=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E3=81=AE=E8=A1=A8=E7=A4=BA=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/recap/components/graph/languages.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/recap/components/graph/languages.tsx b/app/recap/components/graph/languages.tsx index e5fd489..cbbff50 100644 --- a/app/recap/components/graph/languages.tsx +++ b/app/recap/components/graph/languages.tsx @@ -96,9 +96,13 @@ export const LanguagesUsageGraph: FC = ({ data }) => { 言語の使用率 - {limitedData.length === 0 - ? "データがありません。" - : `あなたが最も使用した言語は ${limitedData[0].language} です。`} + {limitedData.length === 0 ? ( + "データがありません。" + ) : ( + <> + あなたが最も使用した言語は {limitedData[0].language} です。 + + )} From b460965f32ad8a93c3b99048190f919655c6ea0d Mon Sep 17 00:00:00 2001 From: kazuya suzuki <83203852+namidapoo@users.noreply.github.com> Date: Sun, 29 Dec 2024 22:17:15 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E3=83=AA=E3=83=9D=E3=82=B8=E3=83=88?= =?UTF-8?q?=E3=83=AA=E3=81=AE=E8=A1=A8=E7=A4=BA=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/recap/components/overview.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/recap/components/overview.tsx b/app/recap/components/overview.tsx index 1880b52..20848be 100644 --- a/app/recap/components/overview.tsx +++ b/app/recap/components/overview.tsx @@ -188,10 +188,13 @@ export const OverView: FC = async ({ data }) => { リポジトリごとの統計 - {data.repositoriesByCommitCount.length === 0 - ? "データがありません。" - : `あなたが最もコミットしたリポジトリは{" "} - ${data.repositoriesByCommitCount[0].nameWithOwner} です。`} + {data.repositoriesByCommitCount.length === 0 ? ( + "データがありません。" + ) : ( + <> + あなたが最もコミットしたリポジトリは {data.repositoriesByCommitCount[0].nameWithOwner} です。 + + )}