Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: fix import

TzeYiing4b7ea6eb8c6a
diff --git a/studio/components/ui/Charts/Sparkline.stories.tsx b/studio/components/ui/Charts/Sparkline.stories.tsx
index 5cb2e257683..18a620f4576 100644
--- a/studio/components/ui/Charts/Sparkline.stories.tsx
+++ b/studio/components/ui/Charts/Sparkline.stories.tsx
@@ -3,7 +3,7 @@ import { ComponentStory, ComponentMeta } from '@storybook/react'
import dayjs from 'dayjs'
import Chart from './Sparkline'
import { StackedChartProps } from './Charts.types'
-import { STACK_COLORS } from './Charts.constants'
+import { DEFAULT_STACK_COLORs } from './Charts.constants'
export default {
title: 'Charts/Sparkline',
diff --git a/studio/components/ui/Charts/StackedBarChart.stories.tsx b/studio/components/ui/Charts/StackedBarChart.stories.tsx
index 9eb71d42736..822542315cf 100644
--- a/studio/components/ui/Charts/StackedBarChart.stories.tsx
+++ b/studio/components/ui/Charts/StackedBarChart.stories.tsx
@@ -3,7 +3,7 @@ import { ComponentStory, ComponentMeta } from '@storybook/react'
import dayjs from 'dayjs'
import Chart from './StackedBarChart'
import { StackedChartProps } from './Charts.types'
-import { STACK_COLORS } from './Charts.constants'
+import { DEFAULT_STACK_COLORS } from './Charts.constants'
export default {
title: 'Charts/StackedBarChart',
@@ -38,7 +38,7 @@ export const StackedBarChart = () => (
<div className="flex flex-col gap-4 ">
<ExampleName>Default Stacked Chart Colors</ExampleName>
<div className="flex flex-row ">
- {STACK_COLORS.map((c) => (
+ {DEFAULT_STACK_COLORS.map((c) => (
<div className="w-10 h-10" key={c.base} style={{ background: c.base }}></div>
))}
</div>