aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-05-18 01:57:03 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-05-18 02:02:55 +0800
commit943b7d39c685345b00b38ed8a50b7adcffc24f9e (patch)
treebdc65a651c9952761308564da3d0bb6a6664bf5a /packages/website/ts
parent6b1a91160476205b6c2f0462d3a9d64ddcf20098 (diff)
downloaddexon-sol-tools-943b7d39c685345b00b38ed8a50b7adcffc24f9e.tar
dexon-sol-tools-943b7d39c685345b00b38ed8a50b7adcffc24f9e.tar.gz
dexon-sol-tools-943b7d39c685345b00b38ed8a50b7adcffc24f9e.tar.bz2
dexon-sol-tools-943b7d39c685345b00b38ed8a50b7adcffc24f9e.tar.lz
dexon-sol-tools-943b7d39c685345b00b38ed8a50b7adcffc24f9e.tar.xz
dexon-sol-tools-943b7d39c685345b00b38ed8a50b7adcffc24f9e.tar.zst
dexon-sol-tools-943b7d39c685345b00b38ed8a50b7adcffc24f9e.zip
Fix tslint false positive
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/components/wallet/wallet.tsx11
1 files changed, 9 insertions, 2 deletions
diff --git a/packages/website/ts/components/wallet/wallet.tsx b/packages/website/ts/components/wallet/wallet.tsx
index 818cff05b..75dbd12e9 100644
--- a/packages/website/ts/components/wallet/wallet.tsx
+++ b/packages/website/ts/components/wallet/wallet.tsx
@@ -136,6 +136,10 @@ const styles: Styles = {
overflow: 'auto',
WebkitOverflowScrolling: 'touch',
},
+ manageYourWalletText: {
+ color: colors.mediumBlue,
+ fontWeight: 'bold',
+ },
};
const ETHER_ICON_PATH = '/images/ether.png';
@@ -312,9 +316,12 @@ export class Wallet extends React.Component<WalletProps, WalletState> {
<Link to={`${WebsitePaths.Portal}/account`} style={{ textDecoration: 'none' }}>
<ListItem
primaryText={
- <div className="flex right" style={{ color: colors.mediumBlue, fontWeight: 'bold' }}>
+ <div className="flex right" style={styles.manageYourWalletText}>
{'manage your wallet'}
- </div>}
+ </div>
+ // https://github.com/palantir/tslint-react/issues/140
+ // tslint:disable-next-line:jsx-curly-spacing
+ }
style={{ ...styles.paddedItem, ...styles.borderedItem }}
/>
</Link>