Skip to content

Commit

Permalink
Fix lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
juffalow committed Oct 10, 2023
1 parent cf6ecf6 commit 28eb6de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ async function fetchGraphQL(params: RequestParameters, variables: Variables) {
return await response.json();
}

export default new Environment({
const environment = new Environment({
network: Network.create(fetchGraphQL),
store: new Store(new RecordSource()),
});

export default environment;

0 comments on commit 28eb6de

Please sign in to comment.