aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-14 02:37:42 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-14 02:37:42 +0800
commitbed134c1da94f3b91eb50114ecd0d01ecb3ab3a2 (patch)
tree79f5f904875342cb407223ab3a89a8c6882d95e0 /packages/instant
parentd36cf58b82c6783d59260304968a85e2f011ddc2 (diff)
downloaddexon-sol-tools-bed134c1da94f3b91eb50114ecd0d01ecb3ab3a2.tar
dexon-sol-tools-bed134c1da94f3b91eb50114ecd0d01ecb3ab3a2.tar.gz
dexon-sol-tools-bed134c1da94f3b91eb50114ecd0d01ecb3ab3a2.tar.bz2
dexon-sol-tools-bed134c1da94f3b91eb50114ecd0d01ecb3ab3a2.tar.lz
dexon-sol-tools-bed134c1da94f3b91eb50114ecd0d01ecb3ab3a2.tar.xz
dexon-sol-tools-bed134c1da94f3b91eb50114ecd0d01ecb3ab3a2.tar.zst
dexon-sol-tools-bed134c1da94f3b91eb50114ecd0d01ecb3ab3a2.zip
chore: PR feedback
Diffstat (limited to 'packages/instant')
-rw-r--r--packages/instant/src/components/buy_order_progress.tsx1
-rw-r--r--packages/instant/src/components/standard_panel_content.tsx10
2 files changed, 5 insertions, 6 deletions
diff --git a/packages/instant/src/components/buy_order_progress.tsx b/packages/instant/src/components/buy_order_progress.tsx
index d93e74c9f..6568de91b 100644
--- a/packages/instant/src/components/buy_order_progress.tsx
+++ b/packages/instant/src/components/buy_order_progress.tsx
@@ -1,4 +1,3 @@
-import * as _ from 'lodash';
import * as React from 'react';
import { TimedProgressBar } from '../components/timed_progress_bar';
diff --git a/packages/instant/src/components/standard_panel_content.tsx b/packages/instant/src/components/standard_panel_content.tsx
index 95a79bd55..89e4da70c 100644
--- a/packages/instant/src/components/standard_panel_content.tsx
+++ b/packages/instant/src/components/standard_panel_content.tsx
@@ -19,7 +19,7 @@ export interface StandardPanelContentProps {
action: React.ReactNode;
}
-const spacingBetweenPx = '20px';
+const SPACING_BETWEEN_PX = '20px';
export const StandardPanelContent: React.StatelessComponent<StandardPanelContentProps> = ({
image,
@@ -30,18 +30,18 @@ export const StandardPanelContent: React.StatelessComponent<StandardPanelContent
}) => (
<Container height="100%">
<Flex direction="column" height="calc(100% - 58px)">
- <Container marginBottom={spacingBetweenPx}>{image}</Container>
- <Container marginBottom={spacingBetweenPx}>
+ <Container marginBottom={SPACING_BETWEEN_PX}>{image}</Container>
+ <Container marginBottom={SPACING_BETWEEN_PX}>
<Text fontSize="20px" fontWeight={700} fontColor={ColorOption.black}>
{title}
</Text>
</Container>
- <Container marginBottom={spacingBetweenPx}>
+ <Container marginBottom={SPACING_BETWEEN_PX}>
<Text fontSize="14px" fontColor={ColorOption.grey} center={true}>
{description}
</Text>
</Container>
- <Container marginBottom={spacingBetweenPx}>
+ <Container marginBottom={SPACING_BETWEEN_PX}>
{moreInfoSettings && (
<Text
center={true}