refactor: standardize quotation marks in pnpm-lock.yaml and improve code formatting across various components; enhance readability and maintain consistency in code style
This commit is contained in:
@@ -55,7 +55,8 @@ export function AccountCard({
|
||||
const isMobile = useIsMobile();
|
||||
const Icon = accountTypeIcons[account.type];
|
||||
const realBalance = getAccountBalance(account);
|
||||
const hasBalanceDifference = calculatedBalance !== undefined &&
|
||||
const hasBalanceDifference =
|
||||
calculatedBalance !== undefined &&
|
||||
Math.abs(account.balance - calculatedBalance) > 0.01;
|
||||
|
||||
const {
|
||||
@@ -200,7 +201,8 @@ export function AccountCard({
|
||||
</span>
|
||||
{hasBalanceDifference && (
|
||||
<span className="text-xs text-destructive font-semibold">
|
||||
(diff: {formatCurrency(account.balance - calculatedBalance)})
|
||||
(diff: {formatCurrency(account.balance - calculatedBalance)}
|
||||
)
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user