// @flow import { SITE_NAME } from 'config'; import React from 'react'; import { Modal } from 'modal/modal'; import Button from 'component/button'; import * as PAGES from 'constants/pages'; import Card from 'component/common/card'; type Props = { closeModal: () => void, accessToken: string, user: any, doAuth: () => void, history: { push: string => void }, location: UrlLocation, }; const ModalFirstSubscription = (props: Props) => { const { closeModal, accessToken, user, history, location: { pathname }, } = props; const title = __('You Followed Your First Channel!'); return ( {__('Awesome! You just followed your first channel.')}{' '} {user && user.primary_email ? __('You will receive notifications related to new content.') : __('Log in with %SITE_NAME% to receive notifications about new content.', { SITE_NAME })} } actions={
} />
); }; export default ModalFirstSubscription;