diff --git a/src/pages/Recovery.js b/src/pages/Recovery.js index cb2ae63..3a20743 100644 --- a/src/pages/Recovery.js +++ b/src/pages/Recovery.js @@ -35,7 +35,7 @@ const Recovery = () => { }, [inputValid]); useEffect(() => { - if (input.input1 == input.input2) { + if (input.input1 === input.input2) { setInputValid({ ...inputValid, match: true }); } else { setInputValid({ ...inputValid, match: false }); diff --git a/src/styles/_global.scss b/src/styles/_global.scss index 3d11ace..129d97a 100644 --- a/src/styles/_global.scss +++ b/src/styles/_global.scss @@ -49,3 +49,7 @@ input[type="date"]::-webkit-calendar-picker-indicator { background: url("../icons/calendar.svg") no-repeat; border-width: thin; } + +input::placeholder { + color: rgba(195, 195, 195, 0.5); +}