From 3e639a28bc969ded57ad881a776ad973645ecdbf Mon Sep 17 00:00:00 2001 From: Joshua Date: Thu, 29 Sep 2022 01:40:55 +0100 Subject: [PATCH] fix(website): minor docs fix for specifying color (#2139) --- packages/pie/stories/pie.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pie/stories/pie.stories.tsx b/packages/pie/stories/pie.stories.tsx index 389aa1b1a..b0c94aaea 100644 --- a/packages/pie/stories/pie.stories.tsx +++ b/packages/pie/stories/pie.stories.tsx @@ -97,7 +97,7 @@ stories.add( It's also possible to pass a function if you want to handle more advanced computation: \`\`\` - colors={(datum) => datum.color }} + colors={(datum) => datum.color} \`\`\` `, },