Skip to content

chore(hooks): remove unused 'useMutation' hook#1046

Open
sukvvon wants to merge 1 commit into
mainfrom
chore/remove-unused-usemutation-hook
Open

chore(hooks): remove unused 'useMutation' hook#1046
sukvvon wants to merge 1 commit into
mainfrom
chore/remove-unused-usemutation-hook

Conversation

@sukvvon

@sukvvon sukvvon commented Jul 17, 2026

Copy link
Copy Markdown
Member

Summary

  • Remove src/hooks/useMutation.ts (useBaseMutation/useMutation), which had zero importers — every call site in the codebase uses useMutation from @tanstack/react-query instead.

Test plan

  • pnpm test (tsc, lint, unit tests) passes

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 17, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
tanstack-com 92fbe06 Commit Preview URL

Branch Preview URL
Jul 17 2026, 04:12 AM

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

💤 Files selected but had no reviewable changes (1)
  • src/hooks/useMutation.ts
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 54b86f35-047c-4d47-8b72-63172aa539aa

📥 Commits

Reviewing files that changed from the base of the PR and between 2bf0994 and 92fbe06.

📒 Files selected for processing (1)
  • src/hooks/useMutation.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/remove-unused-usemutation-hook

Comment @coderabbitai help to get the list of available commands.

@sukvvon sukvvon self-assigned this Jul 17, 2026
@sukvvon sukvvon changed the title chore(hooks/useMutation): remove unused hook chore(hooks): remove unused 'useMutation' hook Jul 17, 2026
@sukvvon
sukvvon force-pushed the chore/remove-unused-usemutation-hook branch from b993fb7 to 92fbe06 Compare July 17, 2026 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant