How To Set Empty Array In Useeffect