ComplexData-MILA / HTUI

Apache License 2.0
0 stars 0 forks source link

useEffect hook for new node click not working properly #23

Open amandaLi7 opened 2 years ago

amandaLi7 commented 2 years ago

It leaves a "rendered more hooks than previous render" error. Have tried watching [subgraphNodes], [], and [graphRef]. Using this hook because previous ClickSelect component for node clicking is not working, and this might be another way to go about node interaction.