Archived
saving work on ch.11 form
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
}
|
||||
Reference in New Issue
Block a user