enhance form label & add comment to product
This commit is contained in:
@@ -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 = () => ({
|
||||
|
||||
Reference in New Issue
Block a user