forked from git.gladyson/openmonetis
- Replace ESLint with Biome for linting and formatting - Configure Biome with tabs, double quotes, and organized imports - Move all SQL/Drizzle queries from page.tsx files to data.ts files - Create new data.ts files for: ajustes, dashboard, relatorios/categorias - Update existing data.ts files: extrato, fatura (add lancamentos queries) - Remove all drizzle-orm imports from page.tsx files - Update README.md with new tooling info Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
490 B
TypeScript
15 lines
490 B
TypeScript
import { InstallmentAnalysisPage } from "@/components/dashboard/installment-analysis/installment-analysis-page";
|
|
import { getUser } from "@/lib/auth/server";
|
|
import { fetchInstallmentAnalysis } from "@/lib/dashboard/expenses/installment-analysis";
|
|
|
|
export default async function Page() {
|
|
const user = await getUser();
|
|
const data = await fetchInstallmentAnalysis(user.id);
|
|
|
|
return (
|
|
<main className="flex flex-col gap-4 pb-8">
|
|
<InstallmentAnalysisPage data={data} />
|
|
</main>
|
|
);
|
|
}
|