production test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user