style: reformatar pages com Biome (line wrapping)

Formatação automática do Biome em fatura/page, categorias/page e
extrato/page — apenas line wrapping de destructuring de Promise.all.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Felipe Coutinho
2026-02-26 17:23:51 +00:00
parent edd5b8627d
commit c5750b081f
3 changed files with 33 additions and 22 deletions

View File

@@ -52,8 +52,13 @@ export default async function Page({ params, searchParams }: PageProps) {
notFound(); notFound();
} }
const [filterSources, logoOptions, invoiceData, estabelecimentos, userPreferences] = const [
await Promise.all([ filterSources,
logoOptions,
invoiceData,
estabelecimentos,
userPreferences,
] = await Promise.all([
fetchLancamentoFilterSources(userId), fetchLancamentoFilterSources(userId),
loadLogoOptions(), loadLogoOptions(),
fetchInvoiceData(userId, cartaoId, selectedPeriod), fetchInvoiceData(userId, cartaoId, selectedPeriod),

View File

@@ -37,7 +37,8 @@ export default async function Page({ params, searchParams }: PageProps) {
const periodoParam = getSingleParam(resolvedSearchParams, "periodo"); const periodoParam = getSingleParam(resolvedSearchParams, "periodo");
const { period: selectedPeriod } = parsePeriodParam(periodoParam); const { period: selectedPeriod } = parsePeriodParam(periodoParam);
const [detail, filterSources, estabelecimentos, userPreferences] = await Promise.all([ const [detail, filterSources, estabelecimentos, userPreferences] =
await Promise.all([
fetchCategoryDetails(userId, categoryId, selectedPeriod), fetchCategoryDetails(userId, categoryId, selectedPeriod),
fetchLancamentoFilterSources(userId), fetchLancamentoFilterSources(userId),
getRecentEstablishmentsAction(), getRecentEstablishmentsAction(),

View File

@@ -58,8 +58,13 @@ export default async function Page({ params, searchParams }: PageProps) {
notFound(); notFound();
} }
const [filterSources, logoOptions, accountSummary, estabelecimentos, userPreferences] = const [
await Promise.all([ filterSources,
logoOptions,
accountSummary,
estabelecimentos,
userPreferences,
] = await Promise.all([
fetchLancamentoFilterSources(userId), fetchLancamentoFilterSources(userId),
loadLogoOptions(), loadLogoOptions(),
fetchAccountSummary(userId, contaId, selectedPeriod), fetchAccountSummary(userId, contaId, selectedPeriod),