The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Remove usused props
Joshen Lim1c86a5e5ca5f
diff --git a/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.tsx b/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.tsxindex 7f8dc189b95..6a016d9afdf 100644--- a/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.tsx+++ b/studio/components/interfaces/Billing/PAYGUsage/PAYGUsage.tsx@@ -52,7 +52,6 @@ const PAYGUsage: FC<Props> = ({ dateRange }) => {startDate={startDate}endDate={endDate}interval="1d"- highlight="maximum"defaultChartStyle="bar"customDateFormat={'MMM D, YYYY'}/>diff --git a/studio/components/to-be-cleaned/Charts/ChartHandler.tsx b/studio/components/to-be-cleaned/Charts/ChartHandler.tsxindex 8863794adf7..c84f768a5c5 100644--- a/studio/components/to-be-cleaned/Charts/ChartHandler.tsx+++ b/studio/components/to-be-cleaned/Charts/ChartHandler.tsx@@ -9,7 +9,6 @@ import { get } from 'lib/common/fetch'import { BarChart } from './ChartRenderer'import AreaChart from 'components/ui/Charts/AreaChart'import { ChartData } from './ChartHandler.types'-import { AreaProps } from 'recharts'interface Props {label: string@@ -20,7 +19,6 @@ interface Props {interval: stringcustomDateFormat?: stringchildren?: ReactNode- highlight?: 'total' | 'average' | 'maximum'defaultChartStyle?: 'bar' | 'line'hideChartType?: booleandata?: ChartData@@ -28,7 +26,6 @@ interface Props {format?: stringhighlightedValue?: string | numberonBarClick?: (v: any) => void- areaType?: AreaProps['type']}/**@@ -49,7 +46,6 @@ const ChartHandler: FC<Props> = ({interval,customDateFormat,children = null,- highlight,defaultChartStyle = 'bar',hideChartType = false,data,@@ -57,7 +53,6 @@ const ChartHandler: FC<Props> = ({format,highlightedValue,onBarClick,- areaType,}) => {const router = useRouter()const { ref } = router.query