Renamed app component files.

This commit is contained in:
Jayden Seric 2018-09-18 20:42:51 +10:00
parent 58901ac8e8
commit 7426bbfdcf
5 changed files with 10 additions and 10 deletions

View File

@ -2,7 +2,7 @@ import { Component } from 'react'
import { graphql } from 'react-apollo' import { graphql } from 'react-apollo'
import gql from 'graphql-tag' import gql from 'graphql-tag'
import uploadsQuery from '../queries/uploads' import uploadsQuery from '../queries/uploads'
import Field from './field' import Field from './Field'
class UploadBlob extends Component { class UploadBlob extends Component {
state = { state = {

View File

@ -1,6 +1,6 @@
import { graphql } from 'react-apollo' import { graphql } from 'react-apollo'
import uploadsQuery from '../queries/uploads' import uploadsQuery from '../queries/uploads'
import { Table, Head, Cell } from './table' import { Table, Head, Cell } from './Table'
const Uploads = ({ data: { uploads = [] } }) => ( const Uploads = ({ data: { uploads = [] } }) => (
<Table <Table

View File

@ -1,12 +1,12 @@
import Page from '../components/page' import Page from '../components/Page'
import Section from '../components/section' import Section from '../components/Section'
import UploadFile from '../components/upload-file' import UploadFile from '../components/UploadFile'
import UploadFileList from '../components/upload-filelist' import UploadFileList from '../components/UploadFileList'
import UploadBlob from '../components/upload-blob' import UploadBlob from '../components/UploadBlob'
import Uploads from '../components/uploads' import Uploads from '../components/Uploads'
import withData from '../providers/with-data' import withData from '../providers/with-data'
const HomePage = () => ( const IndexPage = () => (
<Page title="Apollo upload examples"> <Page title="Apollo upload examples">
<img <img
src="/static/apollo-upload-logo.svg" src="/static/apollo-upload-logo.svg"
@ -29,4 +29,4 @@ const HomePage = () => (
</Page> </Page>
) )
export default withData(HomePage) export default withData(IndexPage)