// @flow import React from 'react'; import { Modal } from 'modal/modal'; import Button from 'component/button'; import * as PAGES from 'constants/pages'; 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; return (

{__('Awesome! You just subscribed to your first channel.')}{' '} {/* @if TARGET='web' */} {__('You will receive notifications related to new content.')} {/* @endif */} {/* @if TARGET='app' */} { user && user.primary_email ? ( {__('You will receive notifications related to new content.')} ) : (

); }; export default ModalFirstSubscription;