Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14864785
D10675.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Subscribers
None
D10675.id.diff
View Options
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: (
- <div>
- <p>
- Cashtab is moving to a new home at{' '}
- <a
- href="https://cashtab.com/"
- target="_blank"
- rel="noreferrer"
- >
- Cashtab.com
- </a>
- </p>
- <p>
- Please write down your wallet 12-word seed and
- import it at the new domain.
- </p>
- <p>
- At the end of the month, cashtabapp.com will
- auto-fwd to cashtab.com after one minute.
- </p>
- </div>
- ),
- });
- }
- }, []);
-
return (
<ThemeProvider theme={theme}>
<GlobalStyle />
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'],
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 20, 22:21 (21 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5863810
Default Alt Text
D10675.id.diff (2 KB)
Attached To
D10675: [Cashtab] Remove url checker to complete migration to cashtab.com
Event Timeline
Log In to Comment