import PropTypes from 'prop-types'; import React from 'react'; import { useIntl } from 'react-intl'; import { useDispatch, useSelector } from 'react-redux'; import { Link } from 'react-router-dom'; import { getSoapboxConfig } from 'soapbox/actions/soapbox'; import BundleContainer from 'soapbox/features/ui/containers/bundle_container'; import { NotificationsContainer } from 'soapbox/features/ui/util/async-components'; import { logOut } from '../../actions/auth'; import { Button, Stack, Text } from '../../components/ui'; const WaitlistPage = ({ account }) => { const dispatch = useDispatch(); const intl = useIntl(); const logo = useSelector((state) => getSoapboxConfig(state).get('logo')); const waitlistPosition = account.getIn(['source', 'unapproved_position']); const onClickLogOut = (event) => { event.preventDefault(); dispatch(logOut(intl)); }; return (
Logo
Waitlisted #{waitlistPosition.toLocaleString()} You're on the Waitlist! Thanks for joining! Due to high demand, we have placed you on our waitlist. We love you, and you are not just another number to us! But your waitlist number is above 🙂
{(Component) => }
); }; WaitlistPage.propTypes = { account: PropTypes.object, }; export default WaitlistPage;