Skip to content

Commit 418014c

Browse files
committed
move shared, fix dupe
1 parent 6530180 commit 418014c

File tree

9 files changed

+7
-30
lines changed

9 files changed

+7
-30
lines changed
File renamed without changes.

apps/web/src/components/metric.tsx

Lines changed: 0 additions & 23 deletions
This file was deleted.
File renamed without changes.

apps/web/src/components/tools/auth0/dashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { useQueryState } from 'nuqs'
44
import { useEffect, useState, useCallback } from 'react'
55
import { pipe } from '@/lib/tinybird'
6-
import MetricCard from '@/components/metric'
6+
import MetricCard from '@/components/metric-card'
77
import { DauChart, DauDataPoint } from './dau-chart'
88
import { AuthMechChart, AuthMechDataPoint } from './auth-mech-chart'
99
import { DailySignupsChart, DailySignupsDataPoint } from './daily-signups-chart'

apps/web/src/components/tools/clerk/dashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { useQueryState } from 'nuqs'
44
import { useEffect, useState } from 'react'
55
import { pipe } from '@/lib/tinybird'
6-
import MetricCard from '@/components/metric'
6+
import MetricCard from '@/components/metric-card'
77
import { DauChart } from './dau-chart'
88
import { AuthMechChart } from './auth-mech-chart'
99

apps/web/src/components/tools/orb/dashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { useQueryState } from 'nuqs'
44
import { useEffect, useState } from 'react'
55
import { pipe } from '@/lib/tinybird'
6-
import MetricCard from '@/components/metric'
6+
import MetricCard from '@/components/metric-card'
77
import { SubsChart, SubsDataPoint } from './subs-chart'
88
import { SubsByPlanChart, SubsByPlanDataPoint } from './sub-by-plan-chart'
99
import { SubsByPlanTsChart, SubsByPlanTsDataPoint } from './sub-by-plan-ts-chart'

apps/web/src/components/tools/stripe/dashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useQueryState } from 'nuqs'
44
import { useEffect, useState } from 'react'
55
import { DailySubsChart, DailySubsDataPoint } from './subs-ts-chart'
66
import { pipe } from '@/lib/tinybird'
7-
import MetricCard from '@/components/metric'
7+
import MetricCard from '@/components/metric-card'
88

99
type SubsMetricsDataPoint = {
1010
created: number

apps/web/src/components/tools/vercel/dashboard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { addDays, format } from 'date-fns'
66
import { DateRange } from 'react-day-picker'
77
import { pipe } from '@/lib/tinybird'
88
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'
9-
import { TimeRange } from '@/components/tools/shared/time-range'
10-
import MetricCard from '@/components/tools/shared/metric-card'
9+
import { TimeRange } from '@/components/time-range'
10+
import MetricCard from '@/components/metric-card'
1111
import { DeploymentsChart } from './deployments-chart'
1212
import { DurationChart } from './duration-chart'
1313
import { ProjectsChart } from './projects-chart'

apps/web/src/components/tools/vercel_logs/dashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { CacheStatsChart } from './cache-stats-chart'
99
import { ResponseTimesChart } from './response-times-chart'
1010
import { TopPathsTable } from './top-paths-table'
1111
import { VercelFilters } from './filters'
12-
import { TimeRange } from '../shared/time-range'
12+
import { TimeRange } from '@/components/time-range'
1313
import { format } from 'date-fns'
1414
import { addDays } from 'date-fns'
1515
import { DateRange } from 'react-day-picker'

0 commit comments

Comments
 (0)