enhance bottom sheets styles

This commit is contained in:
2025-12-04 14:37:43 +03:00
parent 29423036cd
commit f9ea67ed3b
5 changed files with 53 additions and 54 deletions

View File

@@ -51,13 +51,6 @@ export function EqualltyChoiceBottomSheet({
return 0;
}, [grandTotal, totalPeople, payFor]);
// Update splitBillAmount when values change
useEffect(() => {
if (isOpen && splitAmount > 0) {
dispatch(updateSplitBillAmount(splitAmount));
}
}, [isOpen, splitAmount, dispatch]);
const handleSave = () => {
dispatch(updateSplitBillAmount(splitAmount));
onClose();
@@ -68,6 +61,8 @@ export function EqualltyChoiceBottomSheet({
onRemoveSplitWay?.();
onClose();
};
console.log(grandTotal);
return (
<ProBottomSheet
@@ -76,8 +71,8 @@ export function EqualltyChoiceBottomSheet({
title={t("splitBill.divideTheBillEqually")}
showCloseButton={true}
initialSnap={1}
height={600}
snapPoints={[600]}
height={810}
snapPoints={[810]}
>
<div
style={{