mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 13:55:23 +02:00
fix(types): resolve lint errors in Supabase filter options
This commit is contained in:
@@ -95,8 +95,8 @@ export const fetchVendorFilterOptions = async (): Promise<{
|
|||||||
.order('date', { ascending: false })
|
.order('date', { ascending: false })
|
||||||
.limit(1);
|
.limit(1);
|
||||||
|
|
||||||
const markets = [...new Set((marketData || []).map(r => r.market))].sort();
|
const markets = [...new Set((marketData || []).map((r: any) => r.market as string))].sort();
|
||||||
const tags = [...new Set((tagData || []).map(r => r.tags).filter(Boolean))].sort();
|
const tags = [...new Set((tagData || []).map((r: any) => r.tags as string).filter(Boolean))].sort();
|
||||||
|
|
||||||
return {
|
return {
|
||||||
markets,
|
markets,
|
||||||
|
|||||||
Reference in New Issue
Block a user