Upload list renders ok when there are data is loading or errors.

This commit is contained in:
Jayden Seric 2017-07-27 02:46:47 +10:00
parent b63acd61de
commit c3cdfe7ad2

View File

@ -1,7 +1,7 @@
import { graphql } from 'react-apollo' import { graphql } from 'react-apollo'
import uploadsQuery from '../queries/uploads' import uploadsQuery from '../queries/uploads'
const UploadList = ({ data: { uploads } }) => { const UploadList = ({ data: { uploads = [] } }) => {
return ( return (
<div> <div>
<table> <table>