From 5cdd6b8982de02839107f434505d2c10945b5854 Mon Sep 17 00:00:00 2001 From: Jayden Seric Date: Wed, 26 Apr 2017 01:41:39 +1000 Subject: [PATCH] Any file, not just images, may be uploaded. --- app/components/multiple-uploader.js | 2 +- app/components/single-uploader.js | 2 +- app/pages/index.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/multiple-uploader.js b/app/components/multiple-uploader.js index dc6ab85..8426046 100644 --- a/app/components/multiple-uploader.js +++ b/app/components/multiple-uploader.js @@ -15,7 +15,7 @@ const MultipleUploader = ({mutate}) => { } } - return + return } export default graphql(gql` diff --git a/app/components/single-uploader.js b/app/components/single-uploader.js index 2986d20..1c52628 100644 --- a/app/components/single-uploader.js +++ b/app/components/single-uploader.js @@ -15,7 +15,7 @@ const SingleUploader = ({mutate}) => { } } - return + return } export default graphql(gql` diff --git a/app/pages/index.js b/app/pages/index.js index 19a5ee7..7da9047 100644 --- a/app/pages/index.js +++ b/app/pages/index.js @@ -20,11 +20,11 @@ export default withData(props => (

Apollo upload examples

-

Select an image to upload and view the response in the console.

+

Select an file to upload and view the response in the console.

-

Select multiple images to upload and view the response in the console.

+

Select multiple files to upload and view the response in the console.