Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
thecuvii committed Feb 19, 2025
1 parent 63967d7 commit 03ea2f5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions components/members/OurMembers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,17 @@ export function OurMembers({ members }: { members: Member[] }) {

type Unarray<T> = T extends Array<infer U> ? U : T
const SocialIconMap: Record<Unarray<Member['social']>['platform'], Component> =
{
twitter: BrandXIcon,
youtube: TbBrandYoutube,
github: TbBrandGithub,
linkedin: TbBrandLinkedin,
dribbble: TbBrandDribbble,
instagram: TbBrandInstagram,
readcv: ZpBrandReadCV,
xiaohongshu: CgWebsite,
website: CgWebsite,
}
{
twitter: BrandXIcon,
youtube: TbBrandYoutube,
github: TbBrandGithub,
linkedin: TbBrandLinkedin,
dribbble: TbBrandDribbble,
instagram: TbBrandInstagram,
readcv: ZpBrandReadCV,
xiaohongshu: CgWebsite,
website: CgWebsite,
}
function SocialLink({
social,
onClick,
Expand Down

0 comments on commit 03ea2f5

Please sign in to comment.