aboutsummaryrefslogtreecommitdiff
path: root/src/pages/Page.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-08-08 09:07:08 +0300
committereug-vs <eug-vs@keemail.me>2020-08-08 09:07:08 +0300
commit46e360a23969bde69f6d80b5ff27401a39169be6 (patch)
treecffb57e5f4092cc384e167a7c78c921c485da9de /src/pages/Page.tsx
parentb124be4d5067570a8f5db4813d45e1bf49d95f56 (diff)
downloadwhich-ui-46e360a23969bde69f6d80b5ff27401a39169be6.tar.gz
feat: use router logic in ProfilePage
Diffstat (limited to 'src/pages/Page.tsx')
-rw-r--r--src/pages/Page.tsx2
1 files changed, 1 insertions, 1 deletions
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>