diff options
author | ilyayudovin <46264063+ilyayudovin@users.noreply.github.com> | 2020-06-12 20:00:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 20:00:50 +0300 |
commit | 57a2ff3cfa7eae111bb8f46447198586c47425fb (patch) | |
tree | 14c1bda2c6d42b5792cb7bf070b07df316c10825 /src/Feed | |
parent | f0f192e09993eedc2c9596bcdb520a96f5cfacdb (diff) | |
parent | 0d878909fe17311910f2ba13e203bdfa1bc72a1e (diff) | |
download | which-ui-57a2ff3cfa7eae111bb8f46447198586c47425fb.tar.gz |
Merge pull request #27 from ilyayudovin/profileInfo
ProfileInfo integration
Diffstat (limited to 'src/Feed')
-rw-r--r-- | src/Feed/Feed.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Feed/Feed.tsx b/src/Feed/Feed.tsx index 51a3c4c..21bda5e 100644 --- a/src/Feed/Feed.tsx +++ b/src/Feed/Feed.tsx @@ -22,7 +22,7 @@ const Feed: React.FC<PropTypes> = ({ page }) => { let endpoint: string; if (page === 'feed') endpoint = '/polls'; - else if (page === 'profile') endpoint = '/profile'; + else if (page === 'profiles') endpoint = '/profiles'; useEffect(() => { get(endpoint).then(response => { |