fix: Cast sortBy to correct type in tld-pricing page
This commit is contained in:
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user