;
Linker: typeof PageLink;
goToWalletManualWithdraw: () => void;
}
export function BalanceView({
balance,
Linker,
goToWalletManualWithdraw,
}: BalanceViewProps): VNode {
if (!balance) {
return Loading...
;
}
if (balance.hasError) {
return (
{balance.message}
Click here for help and
diagnostics.
);
}
if (balance.response.balances.length === 0) {
return (
You have no balance to show. Need some{" "}
help getting started?
);
}
return (
);
}