diff --git a/src/pages/Admin/Charity/Dashboard/Loaded.tsx b/src/pages/Admin/Charity/Dashboard/Loaded.tsx index 08c7c87709..e172fd013e 100644 --- a/src/pages/Admin/Charity/Dashboard/Loaded.tsx +++ b/src/pages/Admin/Charity/Dashboard/Loaded.tsx @@ -128,7 +128,6 @@ export function Loaded({ classes = "", ...props }: Props) { amount={props.balances.payoutsPending} periodNext={period.next} periodRemaining={period.distance} - grantFromBal={mov["liq-cash"] + mov["lock-cash"]} allocation={props.allocation} /> diff --git a/src/pages/Admin/Charity/Dashboard/Movements.tsx b/src/pages/Admin/Charity/Dashboard/Movements.tsx index b72b8fff34..feffa625d0 100644 --- a/src/pages/Admin/Charity/Dashboard/Movements.tsx +++ b/src/pages/Admin/Charity/Dashboard/Movements.tsx @@ -53,7 +53,7 @@ export function Movements({ classes = "", ...props }: Props) { return (
$ {humanize(props.amount)}
{props.title}
- - $ {humanize(props.balance + change)} - - {change ? ( ++ $ {humanize(headerAmount)} + {props.tooltip?.(change)} +
+ {changeAmount !== null ? ( 0 ? "text-green" : "text-red"
+ changeAmount > 0 ? "text-green" : "text-red"
} flex items-center font-heading text-sm`}
>
(
-