Skip to content

Commit 595d25c

Browse files
committed
coderabbitai fix 4
1 parent f2f04a3 commit 595d25c

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

components/PersonCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Link from "next/link";
22

3-
type Contributor = {
3+
export type Contributor = {
44
name: string;
55
role: string;
66
country?: string;

pages/about.tsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,7 @@ import React from "react";
22
import Layout from "../components/Layout";
33
import GitHubStarButton from "@/components/GitHubStarsButton";
44
import Link from "next/link";
5-
import PersonCard from "@/components/PersonCard";
6-
7-
type Contributor = {
8-
name: string;
9-
role: string;
10-
country?: string;
11-
avatarUrl?: string;
12-
github?: string;
13-
linkedin?: string;
14-
quote?: string;
15-
};
5+
import PersonCard, { Contributor } from "@/components/PersonCard";
166

177
const gridColsFor = (count: number) => {
188
if (count >= 4) return "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4";

0 commit comments

Comments
 (0)