From 5b019ef005b5becec5280414759162e5b03703fe Mon Sep 17 00:00:00 2001 From: e26chiu Date: Sun, 4 Dec 2022 19:02:53 -0500 Subject: [PATCH] Merge LineGraph + WordCloudWidth change --- pages/coop.tsx | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/pages/coop.tsx b/pages/coop.tsx index 864fbe4..9526f9a 100644 --- a/pages/coop.tsx +++ b/pages/coop.tsx @@ -20,7 +20,7 @@ import { import { pageRoutes } from "data/routes"; import React from "react"; import { Color } from "utils/Color"; -import { DefaultProp, pieChartProps } from "utils/defaultProps"; +import { DefaultProp, pieChartProps, wordCloudWidth } from "utils/defaultProps"; import { useWindowDimensions } from "utils/getWindowDimensions"; import { useIsMobile } from "utils/isMobile"; @@ -78,6 +78,12 @@ export default function CoopPage() { left: 30, right: 20, }} + colorRange={[ + Color.primaryAccent, + Color.secondaryAccentLight, + Color.primaryAccentLight, + Color.secondaryAccent, + ]} /> @@ -89,8 +95,7 @@ export default function CoopPage() { >