diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-05-03 08:03:36 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-05-03 08:03:59 +0800 |
commit | 5e3576ed695ce0aaff7d7b59d77380f68e334df1 (patch) | |
tree | 0f067a95691f8d2b82b6c3cd482c652647d54b5f | |
parent | 28ee9e247e7549dccf8c51d8923c0fb3c625bd09 (diff) | |
download | dexon-sol-tools-5e3576ed695ce0aaff7d7b59d77380f68e334df1.tar dexon-sol-tools-5e3576ed695ce0aaff7d7b59d77380f68e334df1.tar.gz dexon-sol-tools-5e3576ed695ce0aaff7d7b59d77380f68e334df1.tar.bz2 dexon-sol-tools-5e3576ed695ce0aaff7d7b59d77380f68e334df1.tar.lz dexon-sol-tools-5e3576ed695ce0aaff7d7b59d77380f68e334df1.tar.xz dexon-sol-tools-5e3576ed695ce0aaff7d7b59d77380f68e334df1.tar.zst dexon-sol-tools-5e3576ed695ce0aaff7d7b59d77380f68e334df1.zip |
Remove id property from WebsiteBackendRelayerInfo
-rw-r--r-- | packages/website/ts/components/relayer_index/relayer_index.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/types.ts | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/packages/website/ts/components/relayer_index/relayer_index.tsx b/packages/website/ts/components/relayer_index/relayer_index.tsx index 50760c32d..c1ab4227a 100644 --- a/packages/website/ts/components/relayer_index/relayer_index.tsx +++ b/packages/website/ts/components/relayer_index/relayer_index.tsx @@ -66,7 +66,7 @@ export class RelayerIndex extends React.Component<RelayerIndexProps, RelayerInde > {this.state.relayerInfos.map((relayerInfo: WebsiteBackendRelayerInfo) => ( <RelayerGridTile - key={relayerInfo.id} + key={relayerInfo.name} relayerInfo={relayerInfo} networkId={this.props.networkId} /> diff --git a/packages/website/ts/types.ts b/packages/website/ts/types.ts index fb4f22873..05adca460 100644 --- a/packages/website/ts/types.ts +++ b/packages/website/ts/types.ts @@ -504,7 +504,6 @@ export interface TokenState { // TODO: Add topTokens and headerUrl properties once available from backend export interface WebsiteBackendRelayerInfo { - id: string; name: string; dailyTxnVolume: string; url: string; |