Skip to content

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

remove Typography component from Reports

Jonathan Summers-Muir67f1b1ae4c30
diff --git a/studio/pages/project/[ref]/reports/[id].tsx b/studio/pages/project/[ref]/reports/[id].tsx
index 3c2ebb8f9f0..4cd951c04ac 100644
--- a/studio/pages/project/[ref]/reports/[id].tsx
+++ b/studio/pages/project/[ref]/reports/[id].tsx
@@ -6,7 +6,6 @@ import { groupBy, isNull } from 'lodash'
import { toJS } from 'mobx'
import dayjs from 'dayjs'
import {
- Typography,
Dropdown,
Button,
IconSave,
@@ -29,7 +28,7 @@ import ChartHandler from 'components/to-be-cleaned/Charts/ChartHandler'
import DateRangePicker from 'components/to-be-cleaned/DateRangePicker'
const ReactGridLayout = WidthProvider(RGL)
-const { Title } = Typography
+
const LAYOUT_COLUMN_COUNT = 24
const DEFAULT_CHART_COLUMN_COUNT = 12
const DEFAULT_CHART_ROW_COUNT = 4
@@ -320,9 +319,7 @@ const Reports = () => {
return (
<div className="mx-6 flex flex-col space-y-4" style={{ maxHeight: '100%' }}>
- <Title level={3} className="m-0">
- Reports
- </Title>
+ <h1 className="text-xl text-scale-1200">Reports</h1>
<div className="flex mb-4 items-center space-x-3 justify-between">
<div className="flex space-x-3 items-center">
@@ -336,15 +333,15 @@ const Reports = () => {
{startDate && endDate && (
<div className="hidden lg:flex space-x-1 items-center ">
- <Typography.Text type="secondary">
+ <span className="text-sm text-scale-1100">
{dayjs(startDate).format('MMM D, YYYY')}
- </Typography.Text>
- <Typography.Text type="secondary" className="opacity-50">
+ </span>
+ <span className="text-scale-900">
<IconArrowRight size={12} />
- </Typography.Text>
- <Typography.Text type="secondary">
+ </span>
+ <span className="text-sm text-scale-1100">
{dayjs(endDate).format('MMM D, YYYY')}
- </Typography.Text>
+ </span>
</div>
)}
</div>