diff --git a/ui/constants/modal_types.js b/ui/constants/modal_types.js index e390af9e2..4ee41736c 100644 --- a/ui/constants/modal_types.js +++ b/ui/constants/modal_types.js @@ -33,7 +33,6 @@ export const WALLET_UNLOCK = 'wallet_unlock'; export const WALLET_SYNC = 'wallet_sync'; export const WALLET_PASSWORD_UNSAVE = 'wallet_password_unsave'; export const CREATE_CHANNEL = 'create_channel'; -export const YOUTUBE_WELCOME = 'youtube_welcome'; export const SET_REFERRER = 'set_referrer'; export const SIGN_OUT = 'sign_out'; export const LIQUIDATE_SUPPORTS = 'liquidate_supports'; diff --git a/ui/modal/modalRouter/view.jsx b/ui/modal/modalRouter/view.jsx index 7ce9ba59d..0e2fe8fde 100644 --- a/ui/modal/modalRouter/view.jsx +++ b/ui/modal/modalRouter/view.jsx @@ -70,8 +70,6 @@ import ModalWalletEncrypt from 'modal/modalWalletEncrypt'; import ModalWalletUnlock from 'modal/modalWalletUnlock'; -import ModalYoutubeWelcome from 'modal/modalYoutubeWelcome'; - function getModal(id) { switch (id) { case MODALS.UPGRADE: @@ -128,8 +126,6 @@ function getModal(id) { return ModalRewardCode; case MODALS.COMMENT_ACKNOWEDGEMENT: return ModalCommentAcknowledgement; - case MODALS.YOUTUBE_WELCOME: - return ModalYoutubeWelcome; case MODALS.SET_REFERRER: return ModalSetReferrer; case MODALS.SIGN_OUT: diff --git a/ui/modal/modalYoutubeWelcome/index.js b/ui/modal/modalYoutubeWelcome/index.js deleted file mode 100644 index fe7889090..000000000 --- a/ui/modal/modalYoutubeWelcome/index.js +++ /dev/null @@ -1,14 +0,0 @@ -import { connect } from 'react-redux'; -import { doHideModal } from 'redux/actions/app'; -import WalletSend from './view'; - -const select = state => ({}); - -const perform = { - doHideModal, -}; - -export default connect( - select, - perform -)(WalletSend); diff --git a/ui/modal/modalYoutubeWelcome/view.jsx b/ui/modal/modalYoutubeWelcome/view.jsx deleted file mode 100644 index c8584952d..000000000 --- a/ui/modal/modalYoutubeWelcome/view.jsx +++ /dev/null @@ -1,47 +0,0 @@ -// @flow -import * as PAGES from 'constants/pages'; -import React from 'react'; -import { Modal } from 'modal/modal'; -import Card from 'component/common/card'; -import Confetti from 'react-confetti'; -import Button from 'component/button'; - -type Props = { doHideModal: () => void }; - -const YoutubeWelcome = (props: Props) => { - const { doHideModal } = props; - - return ( - - - -

- {__("You've escaped the land of spying, censorship, and exploitation.")} - 💩 -

-

- {__('Welcome to the land of content freedom.')} - 🌈 -

- - } - actions={ -
-
- } - /> -
- ); -}; - -export default YoutubeWelcome;