Skip to content

Commit

Permalink
fix build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Jul 22, 2023
1 parent f0db7b2 commit 25a6c15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/.vitepress/contributors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ export interface CoreTeam extends DefaultTheme.TeamMember {
const contributorsAvatars: Record<string, string> = {};

function getAvatarUrl(name: string) {
// @ts-ignore
return import.meta.hot ? `https://github.com/${name}.png` : `/user-avatars/${name}.png`;
return `https://github.com/${name}.png`;
}

export const contributors = (contributorNames as string[]).reduce((acc, name) => {
Expand Down

0 comments on commit 25a6c15

Please sign in to comment.