aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/portal
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-06-26 02:47:54 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-06-29 01:39:16 +0800
commit4969797c2327ba0eb92a9723842ab312b6631008 (patch)
tree5212c6e17bf377bbdf3b5dc3053c9a55e58ba044 /packages/website/ts/components/portal
parent0e932286d28dad5c8e79659cb679c75e83c3825d (diff)
downloaddexon-0x-contracts-4969797c2327ba0eb92a9723842ab312b6631008.tar.gz
dexon-0x-contracts-4969797c2327ba0eb92a9723842ab312b6631008.tar.zst
dexon-0x-contracts-4969797c2327ba0eb92a9723842ab312b6631008.zip
Remove isTracked field on token in favor of trackedTimestamp
Diffstat (limited to 'packages/website/ts/components/portal')
-rw-r--r--packages/website/ts/components/portal/portal.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/portal/portal.tsx b/packages/website/ts/components/portal/portal.tsx
index 6d70a4733..9498cb388 100644
--- a/packages/website/ts/components/portal/portal.tsx
+++ b/packages/website/ts/components/portal/portal.tsx
@@ -563,9 +563,9 @@ export class Portal extends React.Component<PortalProps, PortalState> {
if (this.state.tokenManagementState === TokenManagementState.Remove && !isDefaultTrackedToken) {
if (token.isRegistered) {
// Remove the token from tracked tokens
- const newToken = {
+ const newToken: Token = {
...token,
- isTracked: false,
+ trackedTimestamp: undefined,
};
this.props.dispatcher.updateTokenByAddress([newToken]);
} else {