aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/App.js
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2020-05-12 21:09:50 -0700
committerjackyzha0 <[email protected]>2020-05-12 21:09:50 -0700
commit07a3d810065e6e8b838c5e53bc7d18241e0ff3c5 (patch)
treecddc9aa74c9ed1ff1ef8cdbec365ba516a14cff5 /frontend/src/components/App.js
parentMerge pull request #18 from jackyzha0/no-pass-rendering (diff)
downloadctrl-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.js19
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">📋&nbsp;</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>