import Link from 'next/link' import InlineNotification from './InlineNotification' import { useTranslation } from 'react-i18next' import TopBarStore from '@store/topBarStore' import { useState } from 'react' import CreateAccountModal from '@components/modals/CreateAccountModal' const AccountSlotsFullNotification = ({ message }: { message: string }) => { const { t } = useTranslation('common') const { setShowSettingsModal } = TopBarStore() const [showCreateAccount, setShowCreateAccount] = useState(false) return ( <> {message}
setShowSettingsModal(true)}> {t('manage')} setShowCreateAccount(true)}> {t('open-account')}
} /> {showCreateAccount ? ( setShowCreateAccount(false)} /> ) : null} ) } export default AccountSlotsFullNotification