From c3cdfe7ad23f71102ee0e80a6001f123bf789070 Mon Sep 17 00:00:00 2001 From: Jayden Seric Date: Thu, 27 Jul 2017 02:46:47 +1000 Subject: [PATCH] Upload list renders ok when there are data is loading or errors. --- app/components/upload-list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/upload-list.js b/app/components/upload-list.js index a13b5ff..30151fd 100644 --- a/app/components/upload-list.js +++ b/app/components/upload-list.js @@ -1,7 +1,7 @@ import { graphql } from 'react-apollo' import uploadsQuery from '../queries/uploads' -const UploadList = ({ data: { uploads } }) => { +const UploadList = ({ data: { uploads = [] } }) => { return (