diff options
Diffstat (limited to 'src/containers')
-rw-r--r-- | src/containers/PollCreation/PollCreation.tsx | 2 | ||||
-rw-r--r-- | src/containers/PollCreation/PollCreationImage.tsx | 2 | ||||
-rw-r--r-- | src/containers/Profile/ProfileInfo.tsx | 2 |
3 files changed, 3 insertions, 3 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' diff --git a/src/containers/PollCreation/PollCreationImage.tsx b/src/containers/PollCreation/PollCreationImage.tsx index d669d91..1200b11 100644 --- a/src/containers/PollCreation/PollCreationImage.tsx +++ b/src/containers/PollCreation/PollCreationImage.tsx @@ -3,7 +3,7 @@ import { makeStyles } from '@material-ui/core/styles'; import { CardActionArea, CardMedia, - Typography, + Typography } from '@material-ui/core'; import ClearIcon from '@material-ui/icons/CancelOutlined'; diff --git a/src/containers/Profile/ProfileInfo.tsx b/src/containers/Profile/ProfileInfo.tsx index 83555e9..82f640d 100644 --- a/src/containers/Profile/ProfileInfo.tsx +++ b/src/containers/Profile/ProfileInfo.tsx @@ -1,4 +1,4 @@ -import React, { useState } from 'react'; +import React from 'react'; import { Badge, Typography } from '@material-ui/core/'; import { makeStyles } from '@material-ui/core/styles'; import { User } from 'which-types'; |