React showing missing dependancy, but everything seems ok. I dont want declare function inside useeffect, can you help with that?
Even if I declare all function codes ins