Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Dec 12, 2024
1 parent dc12a63 commit 08883c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/components/RandomMemberList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const coreTeam: Member[] = [
},
];

export const RandomMemberList = ({ list = coreTeam }: { list: Member[] }) => {
export const RandomMemberList = ({ list = coreTeam }: { list?: Member[] }) => {
const randomList = list.sort(() => Math.random() - 0.5);
return (
<NoSSR>
Expand Down

0 comments on commit 08883c3

Please sign in to comment.