From 1a08b740f5fb14fde1dc27066a66152fd3a37ff6 Mon Sep 17 00:00:00 2001 From: George Lima Date: Mon, 11 Feb 2019 10:54:03 -0300 Subject: [PATCH] chore(send): fix available amount border left --- app/views/send.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/views/send.js b/app/views/send.js index 6477bc6..52a0e70 100644 --- a/app/views/send.js +++ b/app/views/send.js @@ -159,11 +159,9 @@ const ConfirmItemWrapper = styled(RowComponent)` width: 100%; `; -type ItemLabelProps = - | { - color: string, - } - | Object; +type ItemLabelProps = { + color: string, +}; /* eslint-disable max-len */ const ItemLabel = styled(TextComponent)` font-weight: ${(props: PropsWithTheme) => String(props.theme.fontWeight.bold)}; @@ -227,7 +225,7 @@ const MaxAvailableAmount = styled.button` background: none; color: white; cursor: pointer; - border-left: ${props => `1px solid ${props.theme.colors.background}`}; + border-left: ${props => `1px solid ${props.theme.colors.background(props)}`}; opacity: 0.8; &:hover {