aboutsummaryrefslogtreecommitdiff
path: root/src/containers/PollCreation/PollCreation.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/PollCreation/PollCreation.tsx')
-rw-r--r--src/containers/PollCreation/PollCreation.tsx2
1 files changed, 1 insertions, 1 deletions
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'