mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-10-02 12:15:28 +02:00
fix(types): resolve lint errors in Supabase filter options
This commit is contained in:
1 parent
85c789bf52
commit
0b76e587d5
1 file changed
+2
-2
@@ -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