diff options
author | August Skare <post@augustskare.no> | 2018-11-20 22:15:17 +0800 |
---|---|---|
committer | August Skare <post@augustskare.no> | 2018-11-20 22:15:17 +0800 |
commit | b0c22a222e09ef8008a1ef7cf79e28b73961560a (patch) | |
tree | fb98563e385620607b962f1ef0726676fd2c29dd /packages/dev-tools-pages/ts/components/footer.tsx | |
parent | ea1805058924e12a18bcc4f9de712bfade64c595 (diff) | |
download | dexon-sol-tools-b0c22a222e09ef8008a1ef7cf79e28b73961560a.tar dexon-sol-tools-b0c22a222e09ef8008a1ef7cf79e28b73961560a.tar.gz dexon-sol-tools-b0c22a222e09ef8008a1ef7cf79e28b73961560a.tar.bz2 dexon-sol-tools-b0c22a222e09ef8008a1ef7cf79e28b73961560a.tar.lz dexon-sol-tools-b0c22a222e09ef8008a1ef7cf79e28b73961560a.tar.xz dexon-sol-tools-b0c22a222e09ef8008a1ef7cf79e28b73961560a.tar.zst dexon-sol-tools-b0c22a222e09ef8008a1ef7cf79e28b73961560a.zip |
use lodash.map insted of array.map
Diffstat (limited to 'packages/dev-tools-pages/ts/components/footer.tsx')
-rw-r--r-- | packages/dev-tools-pages/ts/components/footer.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/dev-tools-pages/ts/components/footer.tsx b/packages/dev-tools-pages/ts/components/footer.tsx index 110d21443..4b911ce35 100644 --- a/packages/dev-tools-pages/ts/components/footer.tsx +++ b/packages/dev-tools-pages/ts/components/footer.tsx @@ -1,5 +1,6 @@ import * as React from 'react'; import styled from 'styled-components'; +import * as _ from 'lodash'; import { context as compiler } from 'ts/context/compiler'; import { context as cov } from 'ts/context/cov'; @@ -19,7 +20,7 @@ const Footer: React.StatelessComponent<{}> = () => ( <Top> <Alpha>Other tools by 0x</Alpha> <List> - {tools.map(({ title, subtitle, icon }) => ( + {_.map(tools, ({ title, subtitle, icon }) => ( <ListItem key={title}> <ListLink href="#"> <Icon as={icon} /> |