kopia lustrzana https://github.com/bugout-dev/moonstream
little forms twiks
rodzic
7d4c790cba
commit
05160fb931
|
@ -67,9 +67,6 @@ const SignIn = ({ toggleModal }) => {
|
||||||
transition: "background-color 5000s ease-in-out 0s",
|
transition: "background-color 5000s ease-in-out 0s",
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<InputRightElement>
|
|
||||||
<CustomIcon icon="name" />
|
|
||||||
</InputRightElement>
|
|
||||||
</InputGroup>
|
</InputGroup>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -20,6 +20,7 @@ const SignUp = ({ toggleModal }) => {
|
||||||
const [showPassword, togglePassword] = useState(false);
|
const [showPassword, togglePassword] = useState(false);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
console.log(toggleModal);
|
||||||
if (isSuccess) {
|
if (isSuccess) {
|
||||||
toggleModal({ type: MODAL_TYPES.OFF });
|
toggleModal({ type: MODAL_TYPES.OFF });
|
||||||
}
|
}
|
||||||
|
@ -100,7 +101,7 @@ const SignUp = ({ toggleModal }) => {
|
||||||
placeholder="Enter your email"
|
placeholder="Enter your email"
|
||||||
name="email"
|
name="email"
|
||||||
autoComplete="email"
|
autoComplete="email"
|
||||||
ref={register({ required: "Email is required!" })}
|
ref={register({ required: "Email is required" })}
|
||||||
/>
|
/>
|
||||||
</InputGroup>
|
</InputGroup>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|
Ładowanie…
Reference in New Issue