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>
20 lines
511 B
TypeScript
20 lines
511 B
TypeScript
import { CardsPage } from "@/components/cartoes/cards-page";
|
|
import { getUserId } from "@/lib/auth/server";
|
|
import { fetchInativosForUser } from "../data";
|
|
|
|
export default async function InativosPage() {
|
|
const userId = await getUserId();
|
|
const { cards, accounts, logoOptions } = await fetchInativosForUser(userId);
|
|
|
|
return (
|
|
<main className="flex flex-col items-start gap-6">
|
|
<CardsPage
|
|
cards={cards}
|
|
accounts={accounts}
|
|
logoOptions={logoOptions}
|
|
isInativos={true}
|
|
/>
|
|
</main>
|
|
);
|
|
}
|