Skip to content

Commit d4588bb

Browse files
committed
fix: remove deprecated prop
1 parent 9d6d079 commit d4588bb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/components/ActivityStats/index.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { getLocale } from "next-intl/server"
2-
31
import type { StatsBoxMetric } from "@/lib/types"
42

53
import { cn } from "@/lib/utils/cn"
@@ -11,7 +9,6 @@ type ActivityStatsProps = {
119
className?: string
1210
}
1311
const ActivityStats = async ({ metrics, className }: ActivityStatsProps) => {
14-
const locale = await getLocale()
1512
const gridBorderClasses = [
1613
"border-b border-body-light xl:border-e xl:pe-8",
1714
"border-b border-body-light xl:ps-8",
@@ -22,7 +19,6 @@ const ActivityStats = async ({ metrics, className }: ActivityStatsProps) => {
2219
<div className={cn("grid w-full grid-cols-1 xl:grid-cols-2", className)}>
2320
{metrics.map(({ label, apiProvider, apiUrl, state }, idx) => (
2421
<BigNumber
25-
locale={locale}
2622
className={gridBorderClasses[idx]}
2723
key={label}
2824
value={"value" in state ? state.value : undefined}

0 commit comments

Comments
 (0)