production test

This commit is contained in:
2025-05-03 15:06:07 +02:00
parent 76f1685c71
commit a945005e76
18 changed files with 123 additions and 188 deletions
+1 -20
View File
@@ -12,6 +12,7 @@ import React from "react";
export default async function Page() {
const splits = await api.expense.getAll();
const sessionUser = await currentUser();
return (
<>
<Header text="Expenses">
@@ -20,26 +21,6 @@ export default async function Page() {
</Button>
</Header>
<Section>
{/* STATS */}
{/* <div className=" rounded-md flex items-center h-20 bg-card/25">
<div className="p-4 space-y-1 text-center w-full">
<h4 className="text-muted-foreground text-sm">Expenses</h4>
<span className="text-xl font-bold">{splits.length}</span>
</div>
<Separator orientation="vertical" />
<div className="p-4 space-y-1 text-center w-full">
<h4 className="text-muted-foreground text-sm">Expenses</h4>
<span className="text-xl font-bold">{splits.length}</span>
</div>
<Separator orientation="vertical" />
<div className="p-4 space-y-1 text-center w-full">
<h4 className="text-muted-foreground text-sm ">Balance</h4>
<span className="text-xl font-bold text-success">
{getAmount(812.47)}
</span>
</div>
</div> */}
{/* FILTER BAR */}
<div className="py-4 flex items-center gap-2">
<Button