Skip to content
This repository was archived by the owner on Dec 7, 2025. It is now read-only.

Commit 76be0dd

Browse files
CopilotMathiasVDA
andcommitted
Address code review feedback - update to 5.0.1, improve error message, use underscore prefix
Co-authored-by: MathiasVDA <[email protected]>
1 parent 541c93c commit 76be0dd

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@matdata/yasgui": "^4.8.0",
6+
"@matdata/yasgui": "^5.0.1",
77
"@testing-library/jest-dom": "^5.17.0",
88
"@testing-library/react": "^13.4.0",
99
"@testing-library/user-event": "^13.5.0",

public/yasgui/yasgui.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/yasgui/yasgui.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/App.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default function App() {
99
const Yasgui = window.Yasgui?.default || window.Yasgui?.Yasgui;
1010

1111
if (!Yasgui) {
12-
console.error("Yasgui is not loaded yet");
12+
console.error("Failed to load Yasgui library. Please ensure yasgui.min.js is properly loaded.");
1313
return;
1414
}
1515

@@ -74,8 +74,8 @@ export default function App() {
7474
},
7575
};
7676

77-
// eslint-disable-next-line no-unused-vars
78-
const yasgui = new Yasgui(document.getElementById("yasgui"), config);
77+
// Initialize Yasgui instance (underscore prefix indicates intentionally unused variable)
78+
const _yasgui = new Yasgui(document.getElementById("yasgui"), config);
7979

8080
return () => {};
8181
}, []);

0 commit comments

Comments
 (0)