diff --git a/apps/staking/src/components/AccountSummary/index.tsx b/apps/staking/src/components/AccountSummary/index.tsx index 1f82426db8..2ac4cca3a7 100644 --- a/apps/staking/src/components/AccountSummary/index.tsx +++ b/apps/staking/src/components/AccountSummary/index.tsx @@ -1,18 +1,28 @@ import { InformationCircleIcon } from "@heroicons/react/24/outline"; +import { useLocalStorageValue } from "@react-hookz/web"; import Image from "next/image"; -import { type ComponentProps, type ReactNode, useCallback } from "react"; +import { + type ComponentProps, + type FormEvent, + type ReactNode, + useCallback, + useState, +} from "react"; import { DialogTrigger, + Form, Button as ReactAriaButton, } from "react-aria-components"; import background from "./background.png"; import { type States, StateType as ApiStateType } from "../../hooks/use-api"; import { StateType, useAsync } from "../../hooks/use-async"; -import { Button } from "../Button"; +import { Button, LinkButton } from "../Button"; +import { Checkbox } from "../Checkbox"; +import { Link } from "../Link"; import { ModalDialog } from "../ModalDialog"; import { Tokens } from "../Tokens"; -import { TransferButton } from "../TransferButton"; +import { TransferButton, TransferDialog } from "../TransferButton"; type Props = { api: States[ApiStateType.Loaded] | States[ApiStateType.LoadedNoStakeAccount]; @@ -108,13 +118,7 @@ export const AccountSummary = ({ > )}