import React, {Component} from 'react'; import {Spin} from 'antd'; import {GET_PROJECT} from "../../../../../../gql"; import {Query} from "react-apollo"; import gql from "graphql-tag"; import {removeSpace} from "../../../../../../func"; import NotificationCardRender from './NotificationCardRender'; import DeployCardRender from "../deployCard/DeployCardRender"; class NotificationCardFetch extends Component { render() { return ( { ({loading, error, data}) => { if (loading) { return } if (error) { return 'error!'; } let dataProject = data.project_by_id; let {projectName, projectStatus} = dataProject; let notification = dataProject.notification_id || ''; return ( ) } } ) } } export default NotificationCardFetch;