Skip to content

Commit

Permalink
fix: fixed user filter images not loading for external imgs
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Oct 31, 2022
1 parent d21f2de commit fd68539
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions components/app/links/link-filters/user-filter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { useRouter } from 'next/router';
import { useMemo, useState } from 'react';
import useSWR from 'swr';

import BlurImage from '@/components/shared/blur-image';
import { ChevronDown, Search, X } from '@/components/shared/icons';
import Popover from '@/components/shared/popover';
import { ProjectUserProps } from '@/lib/types';
Expand Down Expand Up @@ -41,13 +40,7 @@ export default function UserFilter() {
}}
className="flex w-full items-center space-x-2 rounded-md p-2 hover:bg-gray-100 active:bg-gray-200"
>
<BlurImage
src={image || `https://avatars.dicebear.com/api/micah/${email}.svg`}
alt={email}
width={28}
height={28}
className="rounded-full"
/>
<img alt={email} src={image || `https://avatars.dicebear.com/api/micah/${email}.svg`} className="w-7 h-7 rounded-full" />
<p className="truncate text-sm text-gray-700">{name || email}</p>
</button>
))}
Expand Down

0 comments on commit fd68539

Please sign in to comment.