Browse Source

feat: also match if route ends in /

pull/2/head
Muthu Kumar 1 year ago
parent
commit
2802b630f7
Failed to extract signature
  1. 4
      src/index.tsx

4
src/index.tsx

@ -22,12 +22,16 @@ function App() {
case "/": case "/":
return <Home />; return <Home />;
case "/experience": case "/experience":
case "/experience/":
return <Exp />; return <Exp />;
case "/projects": case "/projects":
case "/projects/":
return <Projects />; return <Projects />;
case "/contact": case "/contact":
case "/contact/":
return <Contact />; return <Contact />;
case "/live": case "/live":
case "/live/":
return <Live />; return <Live />;
case "/blog": case "/blog":
case "/blog/": case "/blog/":

Loading…
Cancel
Save