Direct URLs don't work, REACT GH PAGES

Hello,

Something I noticed is that while my site is hosted and works on github pages, altering the URL breaks the site. I can get to a page by clicking on the navbar link but if it tried to type /resume after the URL it says gh pages ran into an error. The same goes with pressing the back button or refresh button on a page.

The site is kpirabaharan.com if any of you would like to see what I mean.