The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: fix typing error
TzeYiing7d047ccd4da8
diff --git a/studio/components/ui/Charts/StackedBarChart.stories.tsx b/studio/components/ui/Charts/StackedBarChart.stories.tsxindex 822542315cf..8a308ea5ffd 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 { DEFAULT_STACK_COLORS } from './Charts.constants'+import { DEFAULT_STACK_COLORS, genStackColorScales } 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 ">- {DEFAULT_STACK_COLORS.map((c) => (+ {genStackColorScales(DEFAULT_STACK_COLORS).map((c) => (<div className="w-10 h-10" key={c.base} style={{ background: c.base }}></div>))}</div>