fix: dep key
This commit is contained in:
parent
de392c997d
commit
7fee37dfc8
|
@ -44,7 +44,7 @@ const EntityComponent = ({
|
|||
}, [Entity, uri]);
|
||||
useEffect(() => {
|
||||
entity?.load(resource);
|
||||
}, [Entity, entity]);
|
||||
}, [Entity, entity, resource]);
|
||||
if (!entity) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user