From 46e360a23969bde69f6d80b5ff27401a39169be6 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sat, 8 Aug 2020 09:07:08 +0300
Subject: feat: use router logic in ProfilePage

---
 src/pages/Page.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/Page.tsx')

diff --git a/src/pages/Page.tsx b/src/pages/Page.tsx
index f5c975c..dd413bf 100644
--- a/src/pages/Page.tsx
+++ b/src/pages/Page.tsx
@@ -46,7 +46,7 @@ const Page: React.FC = () => {
           <Route exact path={urls.registration} component={RegistrationPage} />
           <Route exact path={urls.feed} component={FeedPage} />
           <Route exact path={urls.notifications} component={NotificationsPage} />
-          <Route path={urls.profile()} component={ProfilePage} />
+          <Route path={urls.profile(':username')} component={ProfilePage} />
         </Switch>
       </div>
     </SnackbarProvider>
-- 
cgit v1.2.3

