Skip to content

Commit 099cddd

Browse files
committed
Linter
1 parent e8df2d7 commit 099cddd

File tree

4 files changed

+3
-32
lines changed

4 files changed

+3
-32
lines changed

apps/web/src/components/tools/auth0/daily-login-fails-chart.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ import {
88
} from "@/components/ui/card"
99
import {
1010
ChartContainer,
11-
ChartTooltip,
12-
ChartConfig,
13-
ChartTooltipContent
11+
ChartConfig
1412
} from "@/components/ui/chart"
1513
import { Line, LineChart, XAxis, YAxis, CartesianGrid } from "recharts"
1614
import { format } from "date-fns"

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

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ import { Button } from "@/components/ui/button"
2323
import { UserRetentionChart, UserRetentionDataPoint } from './user-retention-chart'
2424
import { LogsTable } from './logs-table'
2525

26-
interface ConversionData {
27-
new_signups: number
28-
active_new_users: number
29-
conversion_rate: number
30-
}
31-
3226
interface SummaryMetrics {
3327
total_users: number
3428
total_applications: number
@@ -43,26 +37,6 @@ interface UsersResult {
4337
data: { total_users: number }[]
4438
}
4539

46-
interface ApplicationsResult {
47-
data: { total_applications: number }[]
48-
}
49-
50-
interface ApisResult {
51-
data: { total_apis: number }[]
52-
}
53-
54-
interface ConnectionsResult {
55-
data: { total_connections: number }[]
56-
}
57-
58-
interface MonthlySignupsResult {
59-
data: { monthly_signups: number }[]
60-
}
61-
62-
interface MonthlyActiveUsersResult {
63-
data: { active: number }[]
64-
}
65-
6640
interface ConversionRateResult {
6741
data: { conversion_rate: number }[]
6842
}
@@ -173,7 +147,6 @@ export default function Auth0Dashboard() {
173147
conversionRateResult,
174148
userRetentionTimeSeriesResult,
175149
dauResult,
176-
dauComparisonResult,
177150
authMechResult,
178151
dailySignupsResult,
179152
dailyLoginFailsResult,

apps/web/src/components/tools/auth0/dau-chart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const chartConfig = {
3434
},
3535
} satisfies ChartConfig
3636

37-
export function DauChart({ data, comparisonData, timeRange, className }: DauChartData) {
37+
export function DauChart({ data, timeRange, className }: DauChartData) {
3838
return (
3939
<Card>
4040
<CardHeader>

apps/web/src/components/ui/date-range-picker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function DateRangePicker({
3939
to: endOfDay(new Date())
4040
})
4141
const [isOpen, setIsOpen] = useState(false)
42-
const [tempFrom, setTempFrom] = useState<Date | null>(null)
42+
4343
const [compareLastPeriod, setCompareLastPeriod] = useState(false)
4444

4545
const handleRangeSelect = (range: DateRange | undefined) => {

0 commit comments

Comments
 (0)