Skip to content

Duplicated fetch call for sys relations and contacts

The fetch call for sys relations and contacts will be called twice when user enter contact management page.

Caused by putting them together in a single useEffect. The re-render caused by state changes might impact on each other.

Separate them into 2 different useEffect will solve the problem.

image