Skip to content

Commit

Permalink
fix(website): fix TreeMap usage on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc committed Jun 26, 2020
1 parent 24327df commit 09d3bc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/src/components/home/HomeTreeMap.js
Expand Up @@ -16,16 +16,16 @@ const HomeTreeMap = ({ colors, nivoTheme }) => {
<HomeItem to="/treemap">
<ResponsiveTreeMapCanvas
margin={{ top: 0, right: 0, bottom: 0, left: 0 }}
root={generateLibTree()}
data={generateLibTree()}
identity="name"
value="loc"
valueFormat=".02s"
colors={colors}
leavesOnly={true}
borderWidth={0}
innerPadding={1}
animate={false}
isInteractive={false}
label="loc"
labelFormat=".0s"
enableLabel={true}
labelTextColor={colors[1]}
borderColor="none"
Expand Down

0 comments on commit 09d3bc9

Please sign in to comment.