Skip to content

fix(react): add missing FloatingButtonPage import in SendPage.tsx - #303

Open
ygd58 wants to merge 2 commits into
FhenixProtocol:masterfrom
ygd58:fix/sendpage-missing-floatingbuttonpage-import
Open

fix(react): add missing FloatingButtonPage import in SendPage.tsx#303
ygd58 wants to merge 2 commits into
FhenixProtocol:masterfrom
ygd58:fix/sendpage-missing-floatingbuttonpage-import

Conversation

@ygd58

@ygd58 ygd58 commented Aug 6, 2026

Copy link
Copy Markdown

SendPage.tsx uses FloatingButtonPage.Send inside its declare module block for FloatingButtonPagePropsRegistry augmentation, but never imports FloatingButtonPage — unlike the identical pattern in PortfolioPage.tsx, which imports it correctly. This passes tsc (type-only ambient context) but fails ESLint no-undef. Fixed by adding the missing import.

Verified locally:

  • pnpm lint — warning resolved
  • pnpm check:types — clean
  • pnpm check:formatting — clean

SendPage.tsx referenced FloatingButtonPage.Send inside its ambient
module augmentation block without importing FloatingButtonPage,
unlike the identical pattern in PortfolioPage.tsx. TypeScript's
type-only ambient declaration doesn't flag this, but ESLint's
no-undef rule correctly catches it as an undefined identifier.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@changeset-bot

changeset-bot Bot commented Aug 6, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 50dd1be

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
cofhesdk-docs Ignored Ignored Aug 6, 2026 7:08am

Request Review

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

@ygd58 is attempting to deploy a commit to the Fhenix Team on Vercel.

A member of the Team first needs to authorize it.

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