From f6367fbdc48a54afb1d6b3fff240e70f13700fb7 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sat, 27 Jun 2020 02:09:45 +0300
Subject: feat: use new endpoint

---
 src/pages/FeedPage/FeedPage.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/FeedPage/FeedPage.tsx')

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);
     });
   }, []);
-- 
cgit v1.2.3

