We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e86f722 commit ca2902aCopy full SHA for ca2902a
blog-frontend/src/components/App.js
@@ -9,7 +9,7 @@ const App = () => {
9
<Route exact path="/" component={PostListPage}/>
10
<Route path="/pages/:page" component={PostListPage}/>}
11
<Route path="/posts/:id" component={PostPage}/>}
12
- <Route path="/editor/:id" component={EditorPage}/>}
+ <Route path="/editor/:id?" component={EditorPage}/>}
13
<Route component={NotFoundPage}/>
14
</Switch>
15
</div>
0 commit comments