Skip to content

Commit

Permalink
Merge pull request #399 from onflow/add_default_avataaar
Browse files Browse the repository at this point in the history
add default avataaar
  • Loading branch information
MrDSGC committed Nov 2, 2022
2 parents de20e81 + 679f232 commit b996226
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Binary file added public/defaultAvataaar.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions src/components/Avatar.tsx
@@ -1,5 +1,4 @@
import React from 'react';
import { avataaar } from 'util/avataaar';
import { mb32 } from 'util/rng';

interface AvatarProps {
Expand All @@ -18,7 +17,7 @@ const Avatar: React.FC<AvatarProps> = ({ seed, index, style }) => {
return (
<img
className="avatar"
src={avataaar(rng().toString())}
src={'/defaultAvataaar.png'}
style={style}
alt="Avatar"
/>
Expand Down

0 comments on commit b996226

Please sign in to comment.