Skip to content

Commit

Permalink
Fix Invalid prop
Browse files Browse the repository at this point in the history
  • Loading branch information
rickycodes committed Sep 2, 2020
1 parent 5fad95d commit d3580ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/components/UI/Identicon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ import { connect } from 'react-redux';
const Identicon = React.memo(props => {
const { diameter, address, customStyle, noFadeIn, useBlockieIcon } = props;
if (!address) return null;
const uri = useBlockieIcon && toDataUrl(address);

const image = useBlockieIcon ? (
<Image
source={toDataUrl(address)}
source={{ uri }}
style={[
{
height: diameter,
Expand Down

0 comments on commit d3580ab

Please sign in to comment.