import React, { useState } from 'react'; import { defineMessages, useIntl, FormattedMessage } from 'react-intl'; import { Column, Stack } from 'soapbox/components/ui'; import Accordion from 'soapbox/features/ui/components/accordion'; import { useAppSelector } from 'soapbox/hooks'; import SiteWallet from './components/site_wallet'; const messages = defineMessages({ heading: { id: 'column.crypto_donate', defaultMessage: 'Donate Cryptocurrency' }, }); const CryptoDonate: React.FC = (): JSX.Element => { const [explanationBoxExpanded, toggleExplanationBox] = useState(true); const siteTitle = useAppSelector((state) => state.instance.title); const intl = useIntl(); return ( } expanded={explanationBoxExpanded} onToggle={toggleExplanationBox} > ); }; export default CryptoDonate;