diff --git a/web/cashtab/src/components/App.js b/web/cashtab/src/components/App.js --- a/web/cashtab/src/components/App.js +++ b/web/cashtab/src/components/App.js @@ -33,7 +33,6 @@ import TabCash from '@assets/tabcash.png'; import ABC from '@assets/logo_topright.png'; import { checkForTokenById } from '@utils/tokenMethods.js'; -import { currency } from './Common/Ticker'; // Biometric security import not used in extension/src/components/App.js import ProtectableComponentWrapper from './Authentication/ProtectableComponentWrapper'; @@ -245,41 +244,6 @@ ) : false; - useEffect(() => { - // If URL is not as specified in currency.appURL in Ticker.js, show a popup - const currentUrl = window.location.hostname; - if (currentUrl !== currency.appUrl) { - console.log( - `Loaded URL ${currentUrl} does not match app URL ${currency.appUrl}!`, - ); - Modal.warning({ - title: 'Cashtab is moving!', - content: ( -
-

- Cashtab is moving to a new home at{' '} - - Cashtab.com - -

-

- Please write down your wallet 12-word seed and - import it at the new domain. -

-

- At the end of the month, cashtabapp.com will - auto-fwd to cashtab.com after one minute. -

-
- ), - }); - } - }, []); - return ( diff --git a/web/cashtab/src/components/Common/Ticker.js b/web/cashtab/src/components/Common/Ticker.js --- a/web/cashtab/src/components/Common/Ticker.js +++ b/web/cashtab/src/components/Common/Ticker.js @@ -6,7 +6,6 @@ export const currency = { name: 'eCash', ticker: 'XEC', - appUrl: 'cashtab.com', logo: mainLogo, legacyPrefix: 'bitcoincash', prefixes: ['ecash'],