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