diff --git a/src/app/(dashboard)/dashboard/settings/components/PricingTab.tsx b/src/app/(dashboard)/dashboard/settings/components/PricingTab.tsx
index c402b5dc32..cafd2f45aa 100644
--- a/src/app/(dashboard)/dashboard/settings/components/PricingTab.tsx
+++ b/src/app/(dashboard)/dashboard/settings/components/PricingTab.tsx
@@ -1,5 +1,7 @@
"use client";
+import { FilterSelect, HeroStat, SyncMini } from "./PricingTabHelpers";
+
import { useState, useEffect, useCallback, useMemo } from "react";
import { Card, Button } from "@/shared/components";
import ProviderIcon from "@/shared/components/ProviderIcon";
@@ -726,63 +728,6 @@ export default function PricingTab() {
);
}
-function HeroStat({ label, value, accent }: { label: string; value: number; accent?: string }) {
- return (
-
-
- {label}
-
-
- {value}
-
-
- );
-}
-
-function SyncMini({ label, value }: { label: string; value: string }) {
- return (
-
-
- {label}
-
-
- {value}
-
-
- );
-}
-
-function FilterSelect({
- label,
- value,
- onChange,
- options,
-}: {
- label: string;
- value: string;
- onChange: (v: string) => void;
- options: Array<{ value: string; label: string }>;
-}) {
- return (
-
- );
-}
-
function ProviderSection({
provider,
pricingData,
diff --git a/src/app/(dashboard)/dashboard/settings/components/PricingTabHelpers.tsx b/src/app/(dashboard)/dashboard/settings/components/PricingTabHelpers.tsx
new file mode 100644
index 0000000000..8dd99258c9
--- /dev/null
+++ b/src/app/(dashboard)/dashboard/settings/components/PricingTabHelpers.tsx
@@ -0,0 +1,56 @@
+export function HeroStat({ label, value, accent }: { label: string; value: number; accent?: string }) {
+ return (
+
+
+ {label}
+
+
+ {value}
+
+
+ );
+}
+
+export function SyncMini({ label, value }: { label: string; value: string }) {
+ return (
+
+
+ {label}
+
+
+ {value}
+
+
+ );
+}
+
+export function FilterSelect({
+ label,
+ value,
+ onChange,
+ options,
+}: {
+ label: string;
+ value: string;
+ onChange: (value: string) => void;
+ options: Array<{ value: string; label: string }>;
+}) {
+ return (
+
+ );
+}