Fix TS6133: remove unused React imports and lightningAddressTouched
Made-with: Cursor
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React, { useState, useEffect, useRef, useMemo } from "react";
|
||||
import { useState, useEffect, useRef, useMemo } from "react";
|
||||
import { postUserRefreshProfile, type UserProfile } from "../api";
|
||||
import { useClaimFlow } from "../hooks/useClaimFlow";
|
||||
import { StepIndicator } from "./StepIndicator";
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import React from "react";
|
||||
import { motion, AnimatePresence } from "framer-motion";
|
||||
import { Countdown } from "./Countdown";
|
||||
import type { QuoteResult } from "../api";
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import React from "react";
|
||||
import { ConnectNostr } from "./ConnectNostr";
|
||||
|
||||
interface ConnectStepProps {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import React from "react";
|
||||
import { ClaimDenialPanel } from "./ClaimDenialPanel";
|
||||
import { ELIGIBILITY_PROGRESS_STEPS } from "../hooks/useClaimFlow";
|
||||
import type { DenialState } from "../hooks/useClaimFlow";
|
||||
@@ -23,7 +22,7 @@ const LIGHTNING_ADDRESS_REGEX = /^[^@]+@[^@]+$/;
|
||||
export function EligibilityStep({
|
||||
lightningAddress,
|
||||
onLightningAddressChange,
|
||||
lightningAddressTouched,
|
||||
lightningAddressTouched: _lightningAddressTouched,
|
||||
setLightningAddressTouched,
|
||||
invalid,
|
||||
fromProfile,
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import React from "react";
|
||||
|
||||
const STEPS = [
|
||||
{ step: 1, label: "Connect" },
|
||||
{ step: 2, label: "Check" },
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import React from "react";
|
||||
import { Countdown } from "./Countdown";
|
||||
import { useToast } from "../contexts/ToastContext";
|
||||
import type { ConfirmResult } from "../api";
|
||||
|
||||
Reference in New Issue
Block a user