The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: typing issue for dayjs
TzeYiing7ac52625b065
diff --git a/studio/components/interfaces/Home/ProjectUsage.tsx b/studio/components/interfaces/Home/ProjectUsage.tsxindex ff7ffc79c9b..9e68bdc32d9 100644--- a/studio/components/interfaces/Home/ProjectUsage.tsx+++ b/studio/components/interfaces/Home/ProjectUsage.tsx@@ -33,7 +33,7 @@ const ProjectUsage: FC<Props> = ({}) => {const selectedInterval = CHART_INTERVALS.find((i) => i.key === interval) || CHART_INTERVALS[1]const startDate = dayjs()- .subtract(selectedInterval.startValue, selectedInterval.startUnit)+ .subtract(selectedInterval.startValue, selectedInterval.startUnit as dayjs.ManipulateType).format(DATE_FORMAT)const endDate = dayjs().format(DATE_FORMAT)const charts = data?.data