fix: Cast sortBy to correct type in tld-pricing page

This commit is contained in:
2025-12-10 20:32:04 +01:00
parent 156df8d519
commit 0717a8dd66

View File

@ -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
)