結果 : call useeffect in function