aboutsummaryrefslogtreecommitdiff
path: root/src/pages/FeedPage
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-27 02:09:45 +0300
committereug-vs <eug-vs@keemail.me>2020-06-27 02:09:45 +0300
commitf6367fbdc48a54afb1d6b3fff240e70f13700fb7 (patch)
treead71445a53941ed7a5458ae2884b08902df373f5 /src/pages/FeedPage
parent8c5d7716e18e1da9a6556c581dc8056b7c182ae8 (diff)
downloadwhich-ui-f6367fbdc48a54afb1d6b3fff240e70f13700fb7.tar.gz
feat: use new endpoint
Diffstat (limited to 'src/pages/FeedPage')
-rw-r--r--src/pages/FeedPage/FeedPage.tsx2
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);
});
}, []);