Skip to content

Commit

Permalink
Merge pull request #529 from WatchItDev/fix/update/metadata
Browse files Browse the repository at this point in the history
fix: update metadata
  • Loading branch information
geolffreym authored Feb 6, 2025
2 parents 54e4e3b + b361028 commit dd5f26a
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 dd5f26a

Please sign in to comment.