Skip to content
Snippets Groups Projects
Commit 571098c4 authored by Nicolas PAGNY's avatar Nicolas PAGNY
Browse files

Delete the Checking the existence of the icon

parent 06909f91
Branches
Tags
1 merge request!230Delete the Checking the existence of the icon
...@@ -22,7 +22,7 @@ const EcogestureCard: React.FC<EcogestureCardProps> = ({ ...@@ -22,7 +22,7 @@ const EcogestureCard: React.FC<EcogestureCardProps> = ({
useEffect(() => { useEffect(() => {
if (ecogesture) { if (ecogesture) {
importIconbyId(ecogesture.id, 'ecogesture').then(icon => { importIconbyId(ecogesture.id, 'ecogesture').then(icon => {
icon && setEcogestureIcon(icon) setEcogestureIcon(icon)
}) })
} }
}, [ecogesture]) }, [ecogesture])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment