Description
The BackstopActionPanel component references <AmountInput /> in both the deposit and withdraw tabs, but AmountInput is never imported. This causes a ReferenceError: AmountInput is not defined at render time, making the entire backstop deposit and withdrawal UI non-functional.
File: apps/web-app/src/features/backstop/components/ui/BackstopActionPanel.tsx
The import block only pulls in BackstopInfoAlert and QueueCountdown. The shared AmountInput component added in the latest changes (apps/web-app/src/components/AmountInput.tsx) is what should be imported here — matching how it is used in lending and swap.
Steps to Reproduce
- Navigate to the Backstop page
- Attempt to open the Deposit or Withdraw tab
- The panel crashes / renders nothing
Expected Behavior
The deposit and withdraw tabs render correctly with a functional amount input field.
Acceptance Criteria
Labels
bug, P0, backstop
Description
The
BackstopActionPanelcomponent references<AmountInput />in both the deposit and withdraw tabs, butAmountInputis never imported. This causes aReferenceError: AmountInput is not definedat render time, making the entire backstop deposit and withdrawal UI non-functional.File:
apps/web-app/src/features/backstop/components/ui/BackstopActionPanel.tsxThe import block only pulls in
BackstopInfoAlertandQueueCountdown. The sharedAmountInputcomponent added in the latest changes (apps/web-app/src/components/AmountInput.tsx) is what should be imported here — matching how it is used in lending and swap.Steps to Reproduce
Expected Behavior
The deposit and withdraw tabs render correctly with a functional amount input field.
Acceptance Criteria
import { AmountInput } from "@/components/AmountInput"is added toBackstopActionPanel.tsx<AmountInput>without errorsLabels
bug,P0,backstop