Files
meshcore-hub/src/meshcore_hub
Louis King f8ce554d24 fix(web): resolve TDZ error on profile page from shadowed signal var
The profile page failed to render with "Cannot access 'h' before
initialization". The /profile/me branch destructured `signal` from
params and used it in the apiGet call, but later redeclared
`const signal = ac.signal` in the same block scope. Block-scoped const
hoisting put the earlier reference in the temporal dead zone.

Drop the redundant inner declaration and pass `ac.signal` directly to
the form submit listener.

Fixes #233

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11 23:10:39 +01:00
..
2025-12-07 21:55:10 +00:00
2025-12-07 22:02:42 +00:00