enhance form label & add comment to product

This commit is contained in:
2025-11-04 23:26:20 +03:00
parent 2d2773aa13
commit 0249db13d3
4 changed files with 10 additions and 11 deletions

View File

@@ -13,12 +13,10 @@ export default function CartActionsButtons({ item }: { item: CartItem }) {
const { t } = useTranslation();
const dispatch = useAppDispatch();
const isMobile = false; // Default to desktop
const message = { success: (msg: string) => console.log(msg) }; // Simple message handler
const isRTL = false; // Default to LTR
const handleDeleteItem = (itemId: string) => {
dispatch(removeItem(Number(itemId)));
message.success(t("cart.deleteConfirmation.success"));
};
const getPopconfirmOverlayStyle = () => ({