fix: improve DeepLinkErrorView code quality

- Fix TypeScript property error by using validRoutes constant
- Replace console.log with logger utility
- Fix string quote consistency
- Improve v-for loop variable naming
- Add proper type safety for route parameters

Technical Changes:
- Use VALID_DEEP_LINK_ROUTES constant for route list
- Add logger import and replace console.log calls
- Standardize string quotes to double quotes
- Rename v-for variable to avoid shadowing
- Add proper type assertions for route params

This improves code quality and type safety in the
DeepLinkErrorView component while maintaining consistent
coding standards.
This commit is contained in:
Matthew Raymer
2025-03-20 12:04:27 +00:00
parent 8be8de5f1f
commit c760385dcf
5 changed files with 31 additions and 29 deletions

28
package-lock.json generated
View File

@@ -8144,9 +8144,9 @@
}
},
"node_modules/@react-native/metro-babel-transformer/node_modules/jscodeshift": {
"version": "17.1.2",
"resolved": "https://registry.npmjs.org/jscodeshift/-/jscodeshift-17.1.2.tgz",
"integrity": "sha512-uime4vFOiZ1o3ICT4Sm/AbItHEVw2oCxQ3a0egYVy3JMMOctxe07H3SKL1v175YqjMt27jn1N+3+Bj9SKDNgdQ==",
"version": "17.2.0",
"resolved": "https://registry.npmjs.org/jscodeshift/-/jscodeshift-17.2.0.tgz",
"integrity": "sha512-ZQeKdRmrUhk3vmESbWCUch6BQIngO6Sx6mgLJsR8QD9kqY0xyN9J8Vzkee4tULjekBnV9SiKf9m8ybNURh9s+g==",
"license": "MIT",
"optional": true,
"peer": true,
@@ -8166,7 +8166,7 @@
"micromatch": "^4.0.7",
"neo-async": "^2.5.0",
"picocolors": "^1.0.1",
"recast": "^0.23.9",
"recast": "^0.23.10",
"tmp": "^0.2.3",
"write-file-atomic": "^5.0.1"
},
@@ -14384,9 +14384,9 @@
}
},
"node_modules/electron": {
"version": "33.4.5",
"resolved": "https://registry.npmjs.org/electron/-/electron-33.4.5.tgz",
"integrity": "sha512-rbDc4QOqfMT1uopUG+KcaMKzKgFAXAzN3wNIdgErnB1tUnpgTxwFv1BDN/exCl1vaVWBeM9YtbO5PgbGZeq7xw==",
"version": "33.4.6",
"resolved": "https://registry.npmjs.org/electron/-/electron-33.4.6.tgz",
"integrity": "sha512-INNAYGkMWOb10FNMHaSdow0ekFiftFznpn6Cqo/vEgEapBMyNzGJa+0IVCezmgyRUW08FCHd+ngjvynALSndxQ==",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
@@ -14515,9 +14515,9 @@
}
},
"node_modules/electron-to-chromium": {
"version": "1.5.121",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.121.tgz",
"integrity": "sha512-gpIEzIb3uvm6V8IK452TvzOvZ3EAF8D5i11SMUG7BjpF2aalh5KyKX5dO+GDW5m9Qdia1ejLm6WM5NOIOd7sbQ==",
"version": "1.5.122",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.122.tgz",
"integrity": "sha512-EML1wnwkY5MFh/xUnCvY8FrhUuKzdYhowuZExZOfwJo+Zu9OsNCI23Cgl5y7awy7HrUHSwB1Z8pZX5TI34lsUg==",
"devOptional": true,
"license": "ISC"
},
@@ -23743,9 +23743,9 @@
}
},
"node_modules/react-native/node_modules/jscodeshift": {
"version": "17.1.2",
"resolved": "https://registry.npmjs.org/jscodeshift/-/jscodeshift-17.1.2.tgz",
"integrity": "sha512-uime4vFOiZ1o3ICT4Sm/AbItHEVw2oCxQ3a0egYVy3JMMOctxe07H3SKL1v175YqjMt27jn1N+3+Bj9SKDNgdQ==",
"version": "17.2.0",
"resolved": "https://registry.npmjs.org/jscodeshift/-/jscodeshift-17.2.0.tgz",
"integrity": "sha512-ZQeKdRmrUhk3vmESbWCUch6BQIngO6Sx6mgLJsR8QD9kqY0xyN9J8Vzkee4tULjekBnV9SiKf9m8ybNURh9s+g==",
"license": "MIT",
"optional": true,
"peer": true,
@@ -23765,7 +23765,7 @@
"micromatch": "^4.0.7",
"neo-async": "^2.5.0",
"picocolors": "^1.0.1",
"recast": "^0.23.9",
"recast": "^0.23.10",
"tmp": "^0.2.3",
"write-file-atomic": "^5.0.1"
},