Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Commit 8608faf

Browse files
committedFeb 5, 2019
remove an unnecessary await from an example
1 parent c08e003 commit 8608faf

File tree

1 file changed

+2
-2
lines changed
  • examples/graphql-wrapper-rest/src

1 file changed

+2
-2
lines changed
 

‎examples/graphql-wrapper-rest/src/App.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ class App extends React.Component {
3030
client: null,
3131
}
3232

33-
async componentWillMount() {
34-
const client = await initApollo();
33+
componentWillMount() {
34+
const client = initApollo();
3535
this.setState({ client });
3636
}
3737

0 commit comments

Comments
 (0)
This repository has been archived.