diff options
author | eug-vs <eug-vs@keemail.me> | 2020-08-13 21:33:03 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-08-13 21:33:03 +0300 |
commit | 625ae3280bdf83b66a66873344acad4103d30006 (patch) | |
tree | 26fa4bd8aa18331e71a03b70db906926ac6a56cd /src/containers/PollCreation/PollCreation.tsx | |
parent | 4109cd1b2fca7e4934f0aba1c3a7fabab62270bb (diff) | |
download | which-ui-625ae3280bdf83b66a66873344acad4103d30006.tar.gz |
feat: create FileUpload component
Diffstat (limited to 'src/containers/PollCreation/PollCreation.tsx')
-rw-r--r-- | src/containers/PollCreation/PollCreation.tsx | 4 |
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" |