diff options
author | eug-vs <eug-vs@keemail.me> | 2020-08-08 09:07:08 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-08-08 09:07:08 +0300 |
commit | 46e360a23969bde69f6d80b5ff27401a39169be6 (patch) | |
tree | cffb57e5f4092cc384e167a7c78c921c485da9de /src/pages/Page.tsx | |
parent | b124be4d5067570a8f5db4813d45e1bf49d95f56 (diff) | |
download | which-ui-46e360a23969bde69f6d80b5ff27401a39169be6.tar.gz |
feat: use router logic in ProfilePage
Diffstat (limited to 'src/pages/Page.tsx')
-rw-r--r-- | src/pages/Page.tsx | 2 |
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> |