This commit is contained in:
zadit
2025-03-15 18:59:44 +07:00
parent 43ad59a1f8
commit a64b999a05
30 changed files with 1818 additions and 391 deletions

View File

@@ -144,6 +144,10 @@ const App = ({ forCafe = true, cafeId = -1,
}
};
useEffect(() => {
setCouponList(coupons)
}, [coupons]);
useEffect(() => {
setSelectedCafeId(cafeId)
}, [cafeId]);