From 2f7cffcff980d55825e95b7ff16fe5a6312270ec Mon Sep 17 00:00:00 2001 From: wfnuser Date: Thu, 18 Jul 2024 14:10:56 +0700 Subject: [PATCH] feat: update to use new api --- src/components/ui/chart.tsx | 16 ++-- src/pages/task/index.tsx | 13 ++- src/types/index.ts | 168 +++--------------------------------- vite.config.ts | 2 +- 4 files changed, 27 insertions(+), 172 deletions(-) diff --git a/src/components/ui/chart.tsx b/src/components/ui/chart.tsx index 801c5c7..3312fcd 100644 --- a/src/components/ui/chart.tsx +++ b/src/components/ui/chart.tsx @@ -65,11 +65,10 @@ const ChartStyle = ({ id, config }: { id: string; config: ChartConfig }) => { return null } - return ( -