diff --git a/src/Components/Home/HomePage.js b/src/Components/Home/HomePage.js index 07f097b..5f93f5c 100644 --- a/src/Components/Home/HomePage.js +++ b/src/Components/Home/HomePage.js @@ -456,7 +456,7 @@ const HomePage = () => { {showPromoModal ? ( { const [inputValue, setInputValue] = useState(""); const title = titleText ? titleText : "Confirmation"; - + const handleConfirm = (code) => { + if (!code) { + return; + } + onConfirm(code); + }; return ( @@ -61,7 +66,7 @@ const ConfirmModal = ({ inputValue ? "" : isPromoModal - ? "Enter your promotional code" + ? "Paste or type your code" : "Description of issue" } /> @@ -80,7 +85,7 @@ const ConfirmModal = ({