Skip to content

Commit ca2902a

Browse files
committed
fix : modify path of editor route
1 parent e86f722 commit ca2902a

File tree

1 file changed

+1
-1
lines changed
  • blog-frontend/src/components

1 file changed

+1
-1
lines changed

blog-frontend/src/components/App.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const App = () => {
99
<Route exact path="/" component={PostListPage}/>
1010
<Route path="/pages/:page" component={PostListPage}/>}
1111
<Route path="/posts/:id" component={PostPage}/>}
12-
<Route path="/editor/:id" component={EditorPage}/>}
12+
<Route path="/editor/:id?" component={EditorPage}/>}
1313
<Route component={NotFoundPage}/>
1414
</Switch>
1515
</div>

0 commit comments

Comments
 (0)