Upload list renders ok when there are data is loading or errors.
This commit is contained in:
parent
b63acd61de
commit
c3cdfe7ad2
@ -1,7 +1,7 @@
|
||||
import { graphql } from 'react-apollo'
|
||||
import uploadsQuery from '../queries/uploads'
|
||||
|
||||
const UploadList = ({ data: { uploads } }) => {
|
||||
const UploadList = ({ data: { uploads = [] } }) => {
|
||||
return (
|
||||
<div>
|
||||
<table>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user