Skip to content

Commit

Permalink
Add *.log to gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
rizafahmi committed Nov 18, 2021
1 parent f998a9a commit e40a489
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion doc/examples/javascript/.gitignore
Expand Up @@ -2,4 +2,5 @@ node_modules
.DS_Store
dist
dist-ssr
*.local
*.local
*.log
2 changes: 1 addition & 1 deletion doc/examples/javascript/main.js
Expand Up @@ -39,7 +39,7 @@
{ networkPolicy: "cache-only", pollInterval: 5000 }
);
let subscribe;
const subscription = operation.subscribe(({ data, error, stale }) => {
subscription = operation.subscribe(({ data, error, stale }) => {
if (data && !stale) {
tasks = data.nodes;
if (subscribe) subscription.unsubscribe();
Expand Down

0 comments on commit e40a489

Please sign in to comment.