Skip to content

Commit

Permalink
Downgrade to node 16 because of an external dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkegaard committed Mar 19, 2024
1 parent 9cbabba commit f861982
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"engines": {
"node": "20"
"node": "16"
},
"keywords": [
"react",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const useCanvas = ({ setup, draw, options = {} }) => {
}
render();
} else {
throw Error(
console.error(
`Unable to get context of type "${contextType}". Is webgl enabled?`
);
}
Expand Down

0 comments on commit f861982

Please sign in to comment.