Commit 8d806cb
committed
fix(app-shell): drop the dead initializer flagged by no-useless-assignment (#4509)
`let def = null` is never read — both the try and the catch either assign or
return — so ESLint's no-useless-assignment failed the Lint job. Declare without
the initializer. Also removes an unused React import from the new hook test.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E5CYr5SDwe85gH2Jr5KSgu1 parent e8bec83 commit 8d806cb
2 files changed
Lines changed: 1 addition & 2 deletions
File tree
- packages/app-shell/src/hooks
- __tests__
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments