React Hook "useEffect" is called in function

JavaScript
React component names need to start with a capital letter.
That's because React treats components starting with lowercase letters as DOM tags.

Therefore you should name it "Shoes"
Source

Also in JavaScript: