Renaming hosts to events at as many places as possible

This commit is contained in:
Nikola Bjelo committed 2018-11-01 08:28:43 +01:00
1 parent a94371f750
commit 7e7dbc1401
10 files changed
+31 -31

No files matched your search

+2 -2
View File
@@ -21,7 +21,7 @@ class Edit extends React.Component {
Enroll in an competition {this.props.match.params.slug}
</Typography>
<Query
query={showEventCalls.HOSTS_EVENT}
query={showEventCalls.EVENTS_EVENT}
variables={{ designator: this.props.match.params.slug }}
>
{({ loading, error, data }) => {
@@ -29,7 +29,7 @@ class Edit extends React.Component {
if (error) return `Error! ${error.message}`
return (
<p>
{data.hosts_Event.description}
{data.events_Event.description}
</p>
)
}}
+2 -2
View File
@@ -21,7 +21,7 @@ class Show extends React.Component {
Enroll in an competition {this.props.match.params.slug}
</Typography>
<Query
query={showEventCalls.HOSTS_EVENT}
query={showEventCalls.EVENTS_EVENT}
variables={{ designator: this.props.match.params.slug }}
>
{({ loading, error, data }) => {
@@ -29,7 +29,7 @@ class Show extends React.Component {
if (error) return `Error! ${error.message}`
return (
<p>
{data.hosts_Event.description}
{data.events_Event.description}
</p>
)
}}