diff options
Diffstat (limited to 'frontend/src/components/App.js')
| -rw-r--r-- | frontend/src/components/App.js | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/frontend/src/components/App.js b/frontend/src/components/App.js index 605903e..3b147db 100644 --- a/frontend/src/components/App.js +++ b/frontend/src/components/App.js @@ -39,19 +39,20 @@ function App() { <span role="img" aria-label="clipboard">📋 </span> <Link to="/">ctrl-v</Link> </h1> - <Desc /> </nav> </SpacedTitle> - <Switch> - <Route path="/:hash" - children={<GetPasteWithParam />} - /> - <Route path="/"> - <NewPaste /> - </Route> - </Switch> + <main id="appElement"> + <Switch> + <Route path="/:hash" + children={<GetPasteWithParam />} + /> + <Route path="/"> + <NewPaste /> + </Route> + </Switch> + </main> <Footer /> </div> |