saving work on ch.11 form

This commit is contained in:
2022-02-15 15:03:45 -06:00
parent f9e1ae1b8d
commit 9eb8c6bfbd
6 changed files with 108 additions and 12 deletions
+4
View File
@@ -4,6 +4,7 @@ import { EventList } from "./game/EventList.js"
import { GameList } from "./game/GameList.js"
import { GameForm } from "./game/GameForm.js"
import { EventForm } from "./game/EventForm.js"
import { UpdateEvent } from "./game/UpdateEvent.js"
export const ApplicationViews = () => {
return <>
<main style={{
@@ -22,6 +23,9 @@ export const ApplicationViews = () => {
<Route exact path = "/events/new" >
<EventForm />
</Route>
<Route exact path= "/events/update/:id(\d+)">
<UpdateEvent />
</Route>
</main>
</>
}