chore(web): remove unused useContentSize hook

Merged
DE
3d ago
+0-159

Description

This PR removes web/src/hooks/useContentSize.ts. Its only caller was web/src/refresh-components/buttons/SelectButton.tsx, and #16301 deleted that file. Now git grep useContentSize on main finds matches only in the hook's own file. No barrel file re-exports the hook.

How Has This Been Tested?

  • bun run types:check passes with no type errors.
  • The pre-commit hooks pass. These include type coverage, oxlint, oxfmt and feature-map integrity.

Additional Options

  • [Optional] Please cherry-pick this PR to the latest release version.

Link to Devin session: https://app.devin.ai/sessions/3efa311f9e28496fa1d729253e27b8d2
Open in Devin Desktop: https://app.devin.ai/desktop/session/3efa311f9e28496fa1d729253e27b8d2?variant=devin


Summary by cubic

Removes the unused useContentSize hook from web/src/hooks/useContentSize.ts. Its only caller was SelectButton.tsx, which was deleted in #16301, so git grep useContentSize on main now finds matches only in the hook's own file, and no barrel file re-exports it. No other code is affected.

Summary by CodeRabbit

  • Refactor
    • Removed an internal content-size measurement utility.
    • No direct user-facing feature changes are included in this update.