diff options
author | tanhengyeow <E0032242@u.nus.edu> | 2020-06-09 01:31:24 +0800 |
---|---|---|
committer | tanhengyeow <E0032242@u.nus.edu> | 2020-06-09 01:31:24 +0800 |
commit | c8363449c3d11534b249727874a18fd97b2ea152 (patch) | |
tree | ceca197c274629857181fd1de35904cd49e3d9a7 /frontend | |
parent | de81d3bc09d05e58baddea7a0eb792b923626b4c (diff) | |
download | libeufin-c8363449c3d11534b249727874a18fd97b2ea152.tar.gz libeufin-c8363449c3d11534b249727874a18fd97b2ea152.tar.bz2 libeufin-c8363449c3d11534b249727874a18fd97b2ea152.zip |
Show footer in all authenticated routes
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/src/routes/AuthenticatedRoute.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/src/routes/AuthenticatedRoute.tsx b/frontend/src/routes/AuthenticatedRoute.tsx index c6907b3c..2a14cc0a 100644 --- a/frontend/src/routes/AuthenticatedRoute.tsx +++ b/frontend/src/routes/AuthenticatedRoute.tsx @@ -5,6 +5,8 @@ import { Route } from 'react-router-dom'; import history from '../history'; import { Auth } from '../types'; +import Footer from '../components/footer/Index'; + interface Props { exact?: boolean; isAuthenticated: boolean | null; @@ -32,8 +34,8 @@ const AuthenticatedRoute = ({ </> )} /> - <footer>Footer</footer> </div> + <Footer /> </> ); }; |