diff --git a/packages/page-parachains/src/Parathreads/Actions.tsx b/packages/page-parachains/src/Parathreads/Actions.tsx index c900bb85c1..a8b1469400 100644 --- a/packages/page-parachains/src/Parathreads/Actions.tsx +++ b/packages/page-parachains/src/Parathreads/Actions.tsx @@ -4,9 +4,10 @@ import React from 'react'; import { Button } from '@polkadot/react-components'; -import { useToggle } from '@polkadot/react-hooks'; +import { useApi, useToggle } from '@polkadot/react-hooks'; import { useTranslation } from '../translate'; +import RegisterId from './RegisterId'; import RegisterThread from './RegisterThread'; interface Props { @@ -15,13 +16,24 @@ interface Props { function Actions ({ className }: Props): React.ReactElement { const { t } = useTranslation(); + const { api } = useApi(); const [isRegisterOpen, toggleRegisterOpen] = useToggle(); + const [isReserveOpen, toggleReserveOpen] = useToggle(); return (