aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/compiler.tsx
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-11-20 22:15:17 +0800
committerAugust Skare <post@augustskare.no>2018-11-20 22:15:17 +0800
commitb0c22a222e09ef8008a1ef7cf79e28b73961560a (patch)
treefb98563e385620607b962f1ef0726676fd2c29dd /packages/dev-tools-pages/ts/components/compiler.tsx
parentea1805058924e12a18bcc4f9de712bfade64c595 (diff)
downloaddexon-0x-contracts-b0c22a222e09ef8008a1ef7cf79e28b73961560a.tar
dexon-0x-contracts-b0c22a222e09ef8008a1ef7cf79e28b73961560a.tar.gz
dexon-0x-contracts-b0c22a222e09ef8008a1ef7cf79e28b73961560a.tar.bz2
dexon-0x-contracts-b0c22a222e09ef8008a1ef7cf79e28b73961560a.tar.lz
dexon-0x-contracts-b0c22a222e09ef8008a1ef7cf79e28b73961560a.tar.xz
dexon-0x-contracts-b0c22a222e09ef8008a1ef7cf79e28b73961560a.tar.zst
dexon-0x-contracts-b0c22a222e09ef8008a1ef7cf79e28b73961560a.zip
use lodash.map insted of array.map
Diffstat (limited to 'packages/dev-tools-pages/ts/components/compiler.tsx')
-rw-r--r--packages/dev-tools-pages/ts/components/compiler.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/dev-tools-pages/ts/components/compiler.tsx b/packages/dev-tools-pages/ts/components/compiler.tsx
index c535795aa..d576e3b72 100644
--- a/packages/dev-tools-pages/ts/components/compiler.tsx
+++ b/packages/dev-tools-pages/ts/components/compiler.tsx
@@ -1,5 +1,6 @@
import * as React from 'react';
import styled from 'styled-components';
+import * as _ from 'lodash';
import { colors, media } from 'ts/variables';
@@ -75,7 +76,7 @@ const Compiler: React.StatelessComponent<{}> = () => (
<Container>
<Breakout>
<Cards>
- {cards.map(card => (
+ {_.map(cards, card => (
<Card key={card.title.split(' ').join('-')}>
<Dt>{card.title}</Dt>
<Dd>{card.body}</Dd>