Skip to content

Commit

Permalink
chore: fix ci issues
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonneyx committed Aug 7, 2024
1 parent 55635cf commit ba25bb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/gi-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@
},
"devDependencies": {
"less": "^4.2.0",
"npm-run-all": "^4.1.5",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
"react-dom": ">=16.9.0",
"rimraf": "^5.0.7"
},
"peerDependencies": {
"less": "^4.2.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/gi-sdk/src/state/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { GlobalModel } from '../context/types';
import type { Application } from '../spec';
import type { Dataset } from '../types';
import { DatasetStore } from './dataset';
import { GlobalStore } from './global';
import { GraphStore } from './graph';
Expand All @@ -25,7 +26,7 @@ class StateManager {
public initState(config: Application) {
this.widgetStore.setWidgets(config.spec.widgets);
this.graphStore.setGraphOptions(config.spec.graph);
this.datasetStore.setDataset(config.dataset);
this.datasetStore.setDataset(config.dataset as Dataset);
}
}

Expand Down

0 comments on commit ba25bb4

Please sign in to comment.