-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: コミットデータが0の時の表示を追加 #23
Conversation
TODOコメントは見つかりませんでした。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
app/recap/components/graph/languages.tsx:101
- Using template literals inside JSX can lead to unexpected results. Consider using JSX expressions instead, like this: {
あなたが最も使用した言語は <b>${limitedData[0].language}</b> です。
}
: `あなたが最も使用した言語は <b>${limitedData[0].language}</b> です。`
@@ -61,7 +61,7 @@ export const OverView: FC<Props> = async ({ data }) => { | |||
</CardHeader> | |||
<CardContent className="pr-24 space-y-1"> | |||
<div className="text-sm text-muted-foreground font-bold italic truncate"> | |||
"{data.userProfile.bio}" | |||
{data.userProfile.bio && "{data.userProfile.bio}"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The string interpolation is incorrect. It should be {data.userProfile.bio}
instead of "{data.userProfile.bio}"
.
{data.userProfile.bio && "{data.userProfile.bio}"} | |
{data.userProfile.bio && `${data.userProfile.bio}`} |
Copilot is powered by AI, so mistakes are possible. Review output carefully before use.
Deploying dev-recap with Cloudflare Pages
|
@github-actions approve me |
issue
変更内容
確認したこと
スクリーンショット
補足事項
PR 時のセルフチェック