ok
This commit is contained in:
@@ -83,11 +83,13 @@ const ItemConfig = ({
|
|||||||
const handleCreate = () => {
|
const handleCreate = () => {
|
||||||
console.log(itemPromoPrice)
|
console.log(itemPromoPrice)
|
||||||
handleCreateItem(itemName, itemPrice, selectedImage, previewUrl, itemDescription, itemPromoPrice);
|
handleCreateItem(itemName, itemPrice, selectedImage, previewUrl, itemDescription, itemPromoPrice);
|
||||||
};
|
document.body.style.overflow = "auto";
|
||||||
const handleUpdate = () => {
|
};
|
||||||
|
const handleUpdate = () => {
|
||||||
console.log(itemName, itemPrice, selectedImage, itemDescription, itemPromoPrice)
|
console.log(itemName, itemPrice, selectedImage, itemDescription, itemPromoPrice)
|
||||||
handleUpdateItem(itemName, itemPrice, selectedImage, itemDescription, itemPromoPrice);
|
handleUpdateItem(itemName, itemPrice, selectedImage, itemDescription, itemPromoPrice);
|
||||||
};
|
document.body.style.overflow = "auto";
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div onClick={handleOverlayClick} style={{ position: 'fixed', width: '100vw', height: '100vh', left: 0, bottom: 0, display: 'flex', flexDirection: 'column-reverse', zIndex: 301, backgroundColor: '#00000061' }}>
|
<div onClick={handleOverlayClick} style={{ position: 'fixed', width: '100vw', height: '100vh', left: 0, bottom: 0, display: 'flex', flexDirection: 'column-reverse', zIndex: 301, backgroundColor: '#00000061' }}>
|
||||||
|
|||||||
Reference in New Issue
Block a user