aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/ui/party.tsx
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-15 22:19:19 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-15 22:19:19 +0800
commit2041e9945edf6f5255185de73c0dc332270e4bbb (patch)
tree2e8224bc00217b03887650116dc37f55440b4fdc /packages/website/ts/components/ui/party.tsx
parent126048bac9f52871b841d9898cabe7cfd265ebb6 (diff)
downloaddexon-sol-tools-2041e9945edf6f5255185de73c0dc332270e4bbb.tar.gz
dexon-sol-tools-2041e9945edf6f5255185de73c0dc332270e4bbb.tar.zst
dexon-sol-tools-2041e9945edf6f5255185de73c0dc332270e4bbb.zip
Fix website unused vars
Diffstat (limited to 'packages/website/ts/components/ui/party.tsx')
-rw-r--r--packages/website/ts/components/ui/party.tsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/website/ts/components/ui/party.tsx b/packages/website/ts/components/ui/party.tsx
index 5bafa6071..e6b6ea9e2 100644
--- a/packages/website/ts/components/ui/party.tsx
+++ b/packages/website/ts/components/ui/party.tsx
@@ -7,7 +7,6 @@ import {Identicon} from 'ts/components/ui/identicon';
import {EtherscanLinkSuffixes} from 'ts/types';
import {utils} from 'ts/utils/utils';
-const MIN_ADDRESS_WIDTH = 60;
const IMAGE_DIMENSION = 100;
const IDENTICON_DIAMETER = 95;
const CHECK_MARK_GREEN = 'rgb(0, 195, 62)';
@@ -33,10 +32,7 @@ export class Party extends React.Component<PartyProps, PartyState> {
public render() {
const label = this.props.label;
const address = this.props.address;
- const tooltipId = `${label}-${address}-tooltip`;
const identiconDiameter = this.props.identiconDiameter;
- const addressWidth = identiconDiameter > MIN_ADDRESS_WIDTH ?
- identiconDiameter : MIN_ADDRESS_WIDTH;
const emptyIdenticonStyles = {
width: identiconDiameter,
height: identiconDiameter,