Skip to content

Commit

Permalink
fix: update metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Jadapema committed Feb 6, 2025
1 parent ea0c654 commit b361028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/avatar/avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface AvatarProfileProps {

const AvatarProfile: FC<AvatarProfileProps> = ({ src, alt, sx, ...other }) => {
//Check if src is a valid URL starting with http or https; if not, use the dicebear API to generate a random avatar
const imageSrc = src.startsWith('http') || src.startsWith('https') ? src : dicebear(src);
const imageSrc = src.startsWith('http') || src.startsWith('blob') || src.startsWith('https') ? src : dicebear(src);

// Default styles for the Avatar component
sx = {
Expand Down

0 comments on commit b361028

Please sign in to comment.