aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/index.tsx
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-14 09:58:33 +0800
committerFabio Berger <me@fabioberger.com>2017-12-14 09:58:33 +0800
commit105bcc6664f0d4ab642486977f1edaf8d84b020e (patch)
tree4e2deb2f1c54018b1fadfe91ed6a661cd4198014 /packages/website/ts/index.tsx
parentceae51fe322ebf444d0c8b61fdb7a86ab11c8071 (diff)
downloaddexon-sol-tools-105bcc6664f0d4ab642486977f1edaf8d84b020e.tar
dexon-sol-tools-105bcc6664f0d4ab642486977f1edaf8d84b020e.tar.gz
dexon-sol-tools-105bcc6664f0d4ab642486977f1edaf8d84b020e.tar.bz2
dexon-sol-tools-105bcc6664f0d4ab642486977f1edaf8d84b020e.tar.lz
dexon-sol-tools-105bcc6664f0d4ab642486977f1edaf8d84b020e.tar.xz
dexon-sol-tools-105bcc6664f0d4ab642486977f1edaf8d84b020e.tar.zst
dexon-sol-tools-105bcc6664f0d4ab642486977f1edaf8d84b020e.zip
Clear trackedTokens so that a user starts tracking the new WETH and no longer the old one
Diffstat (limited to 'packages/website/ts/index.tsx')
-rw-r--r--packages/website/ts/index.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx
index 922102d96..61cd6c2f5 100644
--- a/packages/website/ts/index.tsx
+++ b/packages/website/ts/index.tsx
@@ -10,6 +10,7 @@ import {BrowserRouter as Router, Link, Redirect, Route, Switch} from 'react-rout
import * as injectTapEventPlugin from 'react-tap-event-plugin';
import {createStore, Store as ReduxStore} from 'redux';
import {createLazyComponent} from 'ts/lazy_component';
+import {trackedTokenStorage} from 'ts/local_storage/tracked_token_storage';
import {tradeHistoryStorage} from 'ts/local_storage/trade_history_storage';
import {About} from 'ts/pages/about/about';
import {FAQ} from 'ts/pages/faq/faq';
@@ -29,6 +30,7 @@ BigNumber.config({
// Check if we've introduced an update that requires us to clear the tradeHistory local storage entries
tradeHistoryStorage.clearIfRequired();
+trackedTokenStorage.clearIfRequired();
const CUSTOM_GREY = 'rgb(39, 39, 39)';
const CUSTOM_GREEN = 'rgb(102, 222, 117)';