ReactJS query variables
Clash Royale CLAN TAG #URR8PPP ReactJS query variables Not sure what I am doing wrong but I receiving the following error message after I click on the submit button: The code for query is as follows: const ObjectQuery = gql` query($timestamp: Float!){ action(timestamp: $timestamp){ action timestamp object{ filename } } } `; class UserList extends React.Component { render() { return ( ({ loading, error, data }) => { if (loading) return <p>Loading...</p>; if (error) { console.log(error); return <p>Error</p>; } if (data.action.length === 0) return <div>No Objects</div>; return (//this code binds the query above to the output and puts it on the screen. <Item.Group divided> {data.action.map(action => ( <div> <ul> <li key = {actio...