Problem
The round-session hook contains a private shortAddr implementation identical to the shared web formatting helper. This duplicate can drift from the formatter used elsewhere in the UI.
Task
Import and use the shared formatter, then remove the local duplicate.
Acceptance criteria
- The hook uses the shared address formatter.
- Displayed output remains unchanged.
- Web tests and typecheck pass.
- No unrelated hook logic changes.
Suggested implementation prompt
Replace the round-session hook local address formatter with the existing shared helper, remove the duplicate function, run web tests and typecheck, and keep the diff focused.
Problem
The round-session hook contains a private
shortAddrimplementation identical to the shared web formatting helper. This duplicate can drift from the formatter used elsewhere in the UI.Task
Import and use the shared formatter, then remove the local duplicate.
Acceptance criteria
Suggested implementation prompt