From 9bd1614211b9f09f33ce647714b7184eba8bfe67 Mon Sep 17 00:00:00 2001 From: Perry Mitchell Date: Sun, 30 Aug 2020 18:55:56 +0300 Subject: [PATCH] Pass className prop for SiteIcon --- src/components/vault/SiteIcon.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/vault/SiteIcon.js b/src/components/vault/SiteIcon.js index 5cce09b..342d355 100644 --- a/src/components/vault/SiteIcon.js +++ b/src/components/vault/SiteIcon.js @@ -33,7 +33,7 @@ const IconContainer = styled.div` `; export default function SiteIcon(props) { - const { domain = null, type = DEFAULT_ENTRY_TYPE } = props; + const { className, domain = null, type = DEFAULT_ENTRY_TYPE } = props; const imgRef = useRef(null); const [dynamicState, setDynamicState] = useState(DYNAMIC_STATE_LOADING); const onImgError = useMemo( @@ -65,7 +65,7 @@ export default function SiteIcon(props) { imgRef.current.setAttribute('src', `${ICON_LOOKUP}${encodeURIComponent(domain)}`); }, [imgRef.current]); return ( - +