Skip to content

Commit 3dda5bf

Browse files
author
lucifer
committed
feat: using yarn
1 parent a9f2f5b commit 3dda5bf

File tree

3 files changed

+342
-224
lines changed

3 files changed

+342
-224
lines changed

‎.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
# Runs a single command using the runners shell
2828
- name: Install and Build
2929
run: |
30-
npm i
30+
yarn
3131
npm run build-web
3232
# Copy Files
3333
- name: Copy CNAME and 404.html

‎src/dataStructureVis/index.jsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import board1 from "../db/dataStructureVis/board-1.js";
2626

2727
// import treeLevel5 from "../db/dataStructureVis/tree-level-5";
2828

29-
import "@excalidraw/excalidraw/dist/excalidraw.min.css";
30-
import "@excalidraw/excalidraw/dist/fonts.min.css";
29+
// import "@excalidraw/excalidraw/dist/excalidraw.min.css";
30+
// import "@excalidraw/excalidraw/dist/fonts.min.css";
3131
import "./index.css";
3232

3333
const { Option } = Select;
@@ -265,7 +265,7 @@ export default function DataStrutureVis() {
265265
});
266266

267267
return () => window.removeEventListener("resize", onResize);
268-
}, [dataSource]);
268+
}, [dataSource, activeKey]);
269269

270270
const updateScene = ({
271271
data,

0 commit comments

Comments
 (0)