From b58fc84bbb7460275843cd5b99e145be2797ee42 Mon Sep 17 00:00:00 2001
From: ilyayudovin <ilyayudovin123@gmail.com>
Date: Tue, 16 Jun 2020 22:17:21 +0300
Subject: feat: add scroll to top button

---
 src/index.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/index.tsx')

diff --git a/src/index.tsx b/src/index.tsx
index a06ec62..1777e90 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -15,6 +15,7 @@ import FeedPage from './pages/FeedPage/FeedPage';
 import AuthPage from './pages/AuthPage/AuthPage';
 import { User, Page } from './types';
 import { get, post } from './requests';
+import ScrollTopArrow from './components/ScrollTopArrow/ScrollTopArrow';
 
 
 const theme = createMuiTheme({
@@ -93,7 +94,9 @@ const App: React.FC = () => {
         { page.prefix === 'feed' && <FeedPage navigate={navigate} /> }
         { page.prefix === 'auth' && <AuthPage logIn={logIn} /> }
       </div>
+      <ScrollTopArrow />
     </ThemeProvider>
+
   );
 };
 
-- 
cgit v1.2.3

