aboutsummaryrefslogtreecommitdiff
path: root/src/containers/PollCreation/PollCreation.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-08-13 21:33:03 +0300
committereug-vs <eug-vs@keemail.me>2020-08-13 21:33:03 +0300
commit625ae3280bdf83b66a66873344acad4103d30006 (patch)
tree26fa4bd8aa18331e71a03b70db906926ac6a56cd /src/containers/PollCreation/PollCreation.tsx
parent4109cd1b2fca7e4934f0aba1c3a7fabab62270bb (diff)
downloadwhich-ui-625ae3280bdf83b66a66873344acad4103d30006.tar.gz
feat: create FileUpload component
Diffstat (limited to 'src/containers/PollCreation/PollCreation.tsx')
-rw-r--r--src/containers/PollCreation/PollCreation.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/containers/PollCreation/PollCreation.tsx b/src/containers/PollCreation/PollCreation.tsx
index 1286c6f..34fc7c3 100644
--- a/src/containers/PollCreation/PollCreation.tsx
+++ b/src/containers/PollCreation/PollCreation.tsx
@@ -79,8 +79,8 @@ const PollCreation: React.FC = () => {
{user && <UserStrip user={user} info="" />}
<Divider />
<div className={classes.images}>
- <PollCreationImage file={left} setFile={setLeft} />
- <PollCreationImage file={right} setFile={setRight} />
+ <PollCreationImage callback={setLeft} />
+ <PollCreationImage callback={setRight} />
</div>
<Button
color="primary"