diff options
| author | jackyzha0 <[email protected]> | 2020-05-12 21:09:50 -0700 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2020-05-12 21:09:50 -0700 |
| commit | 07a3d810065e6e8b838c5e53bc7d18241e0ff3c5 (patch) | |
| tree | cddc9aa74c9ed1ff1ef8cdbec365ba516a14cff5 /frontend/src/components/App.js | |
| parent | Merge pull request #18 from jackyzha0/no-pass-rendering (diff) | |
| download | ctrl-v-07a3d810065e6e8b838c5e53bc7d18241e0ff3c5.tar.xz ctrl-v-07a3d810065e6e8b838c5e53bc7d18241e0ff3c5.zip | |
password modal
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> |