diff --git a/web/eslint.config.js b/web/eslint.config.js
index 7654e8d..41ba85f 100644
--- a/web/eslint.config.js
+++ b/web/eslint.config.js
@@ -74,7 +74,7 @@ export default tseslint.config(
"quotes": ["error", "double", {allowTemplateLiterals: true}],
"semi": ["error", "never"],
"comma-dangle": ["error", "always-multiline"],
- "max-len": ["warn", 120],
+ "max-len": ["error", 120],
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
diff --git a/web/src/ui/modal/Modal.tsx b/web/src/ui/modal/Modal.tsx
index 1fc3ab6..4d0baf9 100644
--- a/web/src/ui/modal/Modal.tsx
+++ b/web/src/ui/modal/Modal.tsx
@@ -60,7 +60,7 @@ const ModalWrapper = ({ children }: { children: React.ReactNode }) => {
}
window.addEventListener("popstate", listener)
return () => window.removeEventListener("popstate", listener)
- }, [])
+ }, [onClickWrapper])
let modal: JSX.Element | null = null
if (state) {
let content =