fix: Cast sortBy to correct type in tld-pricing page
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled

This commit is contained in:
2025-12-10 20:32:04 +01:00
parent e020eb076a
commit 157ed1a9df

View File

@ -126,7 +126,7 @@ export default function TldPricingPage() {
const data = await api.getTldOverview( const data = await api.getTldOverview(
50, 50,
page * 50, page * 50,
sortBy, sortBy as 'popularity' | 'price_asc' | 'price_desc' | 'name',
debouncedSearch || undefined debouncedSearch || undefined
) )