import React from 'react' import Modal from './Modal' import Button from './Button' import useLocalStorageState from '../hooks/useLocalStorageState' import { useTranslation } from 'next-i18next' export const ALPHA_MODAL_KEY = 'mangoAlphaAccepted-3.06' const AlphaModal = ({ isOpen, onClose, }: { isOpen: boolean onClose?: (x) => void }) => { const { t } = useTranslation('common') const [, setAlphaAccepted] = useLocalStorageState(ALPHA_MODAL_KEY, false) const handleAccept = () => { setAlphaAccepted(true) } return (
next
{t('v3-welcome')}
{t('v3-unaudited')}
{t('v3-new')}{' '} https://v2.mango.markets
🙂 🥭🤝
) } export default React.memo(AlphaModal)