refactor: reorganiza componentes compartilhados e caminhos do app
This commit is contained in:
14
app/(dashboard)/relatorios/analise-parcelas/page.tsx
Normal file
14
app/(dashboard)/relatorios/analise-parcelas/page.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user