May you try creating a netlify.toml in your root folder with this inside
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
See a similar issue here:
https://answers.netlify.com/t/react-routes-work-on-local-but-not-netlify/6760
A video solution for a 404 Page caused by Netlify deploy
https://youtu.be/btG_hk4TSbE