From 157ed1a9df332d3a9ef71b9aab370abe7ca0c868 Mon Sep 17 00:00:00 2001 From: Yves Gugger Date: Wed, 10 Dec 2025 20:32:04 +0100 Subject: [PATCH] fix: Cast sortBy to correct type in tld-pricing page --- frontend/src/app/tld-pricing/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/tld-pricing/page.tsx b/frontend/src/app/tld-pricing/page.tsx index deab65d..e5a4f9c 100644 --- a/frontend/src/app/tld-pricing/page.tsx +++ b/frontend/src/app/tld-pricing/page.tsx @@ -126,7 +126,7 @@ export default function TldPricingPage() { const data = await api.getTldOverview( 50, page * 50, - sortBy, + sortBy as 'popularity' | 'price_asc' | 'price_desc' | 'name', debouncedSearch || undefined )