FIXING UseEffect Has A Missing Dependency Warning In React

Article: https://timmousk.com/blog/react-hook-useeffect-has-a-missing-dependency/