Skip to content

Commit 656bbd8

Browse files
committed
chore: update
1 parent 5d720e8 commit 656bbd8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/projects/Projects.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ onMounted(async () => {
4747
<div class="projects__grid">
4848
<ProjectsRepoCard
4949
v-for="(repo, index) in repos"
50-
:key="repo.id"
50+
:key="String(repo.id)"
5151
:repo="repo"
5252
:index="index"
5353
/>

app/types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface PostPreview {
1919
export type BaseRepo = Endpoints['GET /users/{username}/repos']['response']['data'][number]
2020
export type RepoLanguages = Endpoints['GET /repos/{owner}/{repo}/languages']['response']['data']
2121
export interface Repo {
22-
id: number
22+
id: BaseRepo['id']
2323
name: string
2424
full_name: string
2525
html_url: string

0 commit comments

Comments
 (0)