const { data: active_fronts } = useShortQuery(
["fronts", "active"],
async () => {
const { data, error } = await supabase
.from('fronts')
.select('*, member:member( id, color, avatar, name, pronouns )')
.eq('account', account!.id)
.is('end', null);
if (error) console.error('active_fronts', error);
return data;
},
[ account ],
);
const { data: active_fronts } = useShortQuery(
["fronts", "active"],
async () => {
const { data, error } = await supabase
.from('fronts')
.select('*, member:member( id, color, avatar, name, pronouns )')
.eq('account', account!.id)
.is('end', null);
if (error) console.error('active_fronts', error);
return data;
},
[ account ],
);