Renaming hosts to events at as many places as possible
This commit is contained in:
1 parent
a94371f750
commit
7e7dbc1401
10 files changed
+31
-31
No files matched your search
@@ -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>
|
||||
)
|
||||
}}
|
||||
|
||||
@@ -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>
|
||||
)
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user