Latest changes

This commit is contained in:
“Henry-Hiles” 2022-10-31 10:56:38 -04:00
parent c66526241c
commit 18c6684fb2
10 changed files with 265 additions and 29 deletions

View file

@ -2,12 +2,14 @@ import { Routes, Route } from "react-router-dom"
import "./App.css"
import Home from "pages/Home"
import Movie from "pages/Movie"
import Actor from "pages/Actor"
const App = () => (
<div className="App">
<Routes>
<Route index element={<Home />} />
<Route path="/movie/:movieId" element={<Movie />} />
<Route path="/actor/:actorId" element={<Actor />} />
<Route path="*" element={<h1>404 - Not Found</h1>} />
</Routes>
</div>