Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/sendpage-missing-import.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cofhe/react": patch
---

Fixed a missing `FloatingButtonPage` import in `SendPage.tsx`. The file referenced `FloatingButtonPage.Send` inside its `declare module` type-augmentation block without importing `FloatingButtonPage`, unlike the identical pattern in `PortfolioPage.tsx`. This passed `tsc` (a type-only ambient context) but failed ESLint's `no-undef` rule.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useState, useMemo } from 'react';
import { ArrowBackIcon, KeyboardArrowRightIcon } from '@/components/Icons';
import { isAddress, maxUint128 } from 'viem';
import { FloatingButtonPage } from '../pagesConfig/types';
import { useCofheAccount } from '@/hooks/useCofheConnection';
import { useCofheTokenDecryptedBalance } from '@/hooks/useCofheTokenDecryptedBalance';
import { useCofheTokenTransfer } from '@/hooks/useCofheTokenTransfer';
Expand Down