From 02c346c65f266c1ffc108a27795c4aee9bb7616b Mon Sep 17 00:00:00 2001 From: eug-vs Date: Thu, 13 Aug 2020 21:36:51 +0300 Subject: fix: resolve eslint errors --- src/containers/PollCreation/PollCreation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/containers/PollCreation/PollCreation.tsx') diff --git a/src/containers/PollCreation/PollCreation.tsx b/src/containers/PollCreation/PollCreation.tsx index 34fc7c3..64ab7fd 100644 --- a/src/containers/PollCreation/PollCreation.tsx +++ b/src/containers/PollCreation/PollCreation.tsx @@ -62,7 +62,7 @@ const PollCreation: React.FC = () => { right: { url: rightUrl } }; - post('/polls/', { contents }).then(response => { + post('/polls/', { contents }).then(() => { updateFeed(); enqueueSnackbar('Your poll has been successfully created!', { variant: 'success' -- cgit v1.2.3