結果 : react state setter not working