diff --git a/web/package-lock.json b/web/package-lock.json index 5ff7810..4e7913a 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -55,7 +55,8 @@ "buffer": "^6.0.3", "react-app-rewired": "^2.2.1", "source-map-explorer": "^2.5.3", - "stream-browserify": "^3.0.0" + "stream-browserify": "^3.0.0", + "webpack": "^5.97.1" } }, "node_modules/@adobe/css-tools": { @@ -28015,15 +28016,15 @@ } }, "node_modules/webpack": { - "version": "5.96.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.96.1.tgz", - "integrity": "sha512-l2LlBSvVZGhL4ZrPwyr8+37AunkcYj5qh8o6u2/2rzoPc8gxFJkLj1WxNgooi9pnoc06jh0BjuXnamM4qlujZA==", + "version": "5.97.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.97.1.tgz", + "integrity": "sha512-EksG6gFY3L1eFMROS/7Wzgrii5mBAFe4rIr3r2BTfo7bcc+DWwFZ4OJ/miOuHJO/A85HwyI4eQ0F6IKXesO7Fg==", "dependencies": { "@types/eslint-scope": "^3.7.7", "@types/estree": "^1.0.6", - "@webassemblyjs/ast": "^1.12.1", - "@webassemblyjs/wasm-edit": "^1.12.1", - "@webassemblyjs/wasm-parser": "^1.12.1", + "@webassemblyjs/ast": "^1.14.1", + "@webassemblyjs/wasm-edit": "^1.14.1", + "@webassemblyjs/wasm-parser": "^1.14.1", "acorn": "^8.14.0", "browserslist": "^4.24.0", "chrome-trace-event": "^1.0.2", diff --git a/web/package.json b/web/package.json index 48a301b..834e307 100644 --- a/web/package.json +++ b/web/package.json @@ -78,6 +78,7 @@ "buffer": "^6.0.3", "react-app-rewired": "^2.2.1", "source-map-explorer": "^2.5.3", - "stream-browserify": "^3.0.0" + "stream-browserify": "^3.0.0", + "webpack": "^5.97.1" } } diff --git a/web/src/components/Navbar/Navbar.tsx b/web/src/components/Navbar/Navbar.tsx index 5aab975..7e42ac0 100644 --- a/web/src/components/Navbar/Navbar.tsx +++ b/web/src/components/Navbar/Navbar.tsx @@ -8,11 +8,11 @@ import logo from "logo-flame-w-text.svg"; function Navbar() { const [isMobileMenuActive, setIsMobileMenuActive] = useState(false); - const onHamburgerClick = (event: React.SyntheticEvent) => { + const onHamburgerClick = (_: React.SyntheticEvent) => { setIsMobileMenuActive((prev) => !prev); }; - const { brandURL, bridgeURL, swapURL, poolURL } = useConfig(); + const { brandURL, swapURL, poolURL } = useConfig(); return (