Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
fix eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasrq committed Jan 8, 2024
1 parent 2abb1d9 commit efb7311
Show file tree
Hide file tree
Showing 3 changed files with 707 additions and 348 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@
"@types/react-window": "^1.8.5",
"@types/strman": "^2.0.0",
"@types/wavesurfer.js": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^6.18.0",
"@typescript-eslint/parser": "^6.18.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.4.1",
"antd": "^4.3.3",
"autoprefixer": "^10.4.2",
Expand All @@ -142,14 +144,16 @@
"chroma-js": "^2.1.1",
"css-loader": "^6.7.3",
"css-minimizer-webpack-plugin": "^3.0.2",
"d3": "^5.16.0",
"date-fns": "^2.20.1",
"dotenv-defaults": "^2.0.2",
"dotenv-webpack": "^7.0.2",
"emoji-regex": "^7.0.3",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.5.0",
"eslint": "^8.38.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-react": "^7.33.2",
"eslint-webpack-plugin": "^3.0.1",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.1",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const DebugComponent = ({ store }) => {

if (!input) return;
const annotation = store.annotationStore.selected;
const json = await Promise.all([toJSON(annotation)]);
const json = await toJSON(annotation);

input.value = JSON.stringify(json, null, 2);
}, []);
Expand Down
Loading

0 comments on commit efb7311

Please sign in to comment.