diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-27 02:09:45 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-27 02:09:45 +0300 |
commit | f6367fbdc48a54afb1d6b3fff240e70f13700fb7 (patch) | |
tree | ad71445a53941ed7a5458ae2884b08902df373f5 /src/pages/FeedPage | |
parent | 8c5d7716e18e1da9a6556c581dc8056b7c182ae8 (diff) | |
download | which-ui-f6367fbdc48a54afb1d6b3fff240e70f13700fb7.tar.gz |
feat: use new endpoint
Diffstat (limited to 'src/pages/FeedPage')
-rw-r--r-- | src/pages/FeedPage/FeedPage.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/FeedPage/FeedPage.tsx b/src/pages/FeedPage/FeedPage.tsx index 937b0a9..b7d719e 100644 --- a/src/pages/FeedPage/FeedPage.tsx +++ b/src/pages/FeedPage/FeedPage.tsx @@ -12,7 +12,7 @@ const FeedPage: React.FC<PropTypes> = ({ navigate }) => { const [polls, setPolls] = useState<Poll[]>([]); useEffect(() => { - get('/polls').then(response => { + get('/feed').then(response => { setPolls(response.data); }); }, []); |