結果 : react useeffect calling api multiple times