Skip to content

Commit a2bea4a

Browse files
build: update react and yarn (#32)
1 parent 309be15 commit a2bea4a

File tree

4 files changed

+1443
-1779
lines changed

4 files changed

+1443
-1779
lines changed

CHANGELOG.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
11
## [1.10.2](https://github.com/vault-developer/event-loop-explorer/compare/v1.10.1...v1.10.2) (2024-12-31)
22

3-
43
### Bug Fixes
54

6-
* revert "build: update dependencies" ([8f034c2](https://github.com/vault-developer/event-loop-explorer/commit/8f034c20bf58b5576a24b778cf4f01b71f092514))
5+
- revert "build: update dependencies" ([8f034c2](https://github.com/vault-developer/event-loop-explorer/commit/8f034c20bf58b5576a24b778cf4f01b71f092514))
76

87
## [1.10.1](https://github.com/vault-developer/event-loop-explorer/compare/v1.10.0...v1.10.1) (2024-12-31)
98

10-
119
### Bug Fixes
1210

13-
* fix light theme colors ([81caef4](https://github.com/vault-developer/event-loop-explorer/commit/81caef44013c013f8fc2f1e7766cf56d137cd5af))
11+
- fix light theme colors ([81caef4](https://github.com/vault-developer/event-loop-explorer/commit/81caef44013c013f8fc2f1e7766cf56d137cd5af))
1412

1513
# [1.10.0](https://github.com/vault-developer/event-loop-explorer/compare/v1.9.4...v1.10.0) (2024-12-31)
1614

17-
1815
### Features
1916

20-
* add light theme ([7a903f1](https://github.com/vault-developer/event-loop-explorer/commit/7a903f159939cacfcecd2fc848b30e16d31a0007))
17+
- add light theme ([7a903f1](https://github.com/vault-developer/event-loop-explorer/commit/7a903f159939cacfcecd2fc848b30e16d31a0007))
2118

2219
## [1.9.4](https://github.com/vault-developer/event-loop-explorer/compare/v1.9.3...v1.9.4) (2024-12-29)
2320

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
"acorn-walk": "^8.3.4",
3535
"eslint-scope": "^8.2.0",
3636
"globals": "^15.9.0",
37-
"react": "^18.3.1",
37+
"react": "^19.0.0",
3838
"react-ace": "^12.0.0",
39-
"react-dom": "^18.3.1",
39+
"react-dom": "^19.0.0",
4040
"zustand": "^4.5.5"
4141
},
4242
"devDependencies": {
@@ -46,8 +46,8 @@
4646
"@semantic-release/git": "^10.0.1",
4747
"@types/jest": "^29.5.14",
4848
"@types/node": "^22.9.0",
49-
"@types/react": "^18.3.4",
50-
"@types/react-dom": "^18.3.0",
49+
"@types/react": "^19.0.2",
50+
"@types/react-dom": "^19.0.2",
5151
"@typescript-eslint/eslint-plugin": "^8.2.0",
5252
"@typescript-eslint/parser": "^8.2.0",
5353
"@vitejs/plugin-react": "^4.3.1",
@@ -67,7 +67,7 @@
6767
"typescript": "^5.5.4",
6868
"vite": "^5.4.2"
6969
},
70-
"packageManager": "yarn@4.3.1+sha512.af78262d7d125afbfeed740602ace8c5e4405cd7f4735c08feb327286b2fdb2390fbca01589bfd1f50b1240548b74806767f5a063c94b67e431aabd0d86f7774",
70+
"packageManager": "yarn@4.6.0",
7171
"config": {
7272
"commitizen": {
7373
"path": "cz-conventional-changelog"

src/pages/home/sections/Configurator/Editor/Editor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import AceEditor from 'react-ace';
22
import 'ace-builds/src-noconflict/mode-javascript';
33
import 'ace-builds/src-noconflict/theme-solarized_dark';
44
import 'ace-builds/src-noconflict/theme-textmate';
5-
import { useEffect, useRef } from 'react';
5+
import { RefObject, useEffect, useRef } from 'react';
66
import {
77
useEditorStore,
88
useSimulatorStore,
@@ -25,7 +25,7 @@ export default function Editor({
2525

2626
useEffect(() => {
2727
if (editorRef.current) {
28-
setEditorRef(editorRef);
28+
setEditorRef(editorRef as RefObject<AceEditor>);
2929
}
3030
}, [editorRef, setEditorRef]);
3131

0 commit comments

Comments
 (0)