File tree Expand file tree Collapse file tree 4 files changed +4
-0
lines changed
Expand file tree Collapse file tree 4 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import '@jehankandy/jkcss/src/layout/columns/columns.css'
88import '@jehankandy/jkcss/src/buttons/button.css'
99
1010const SignIn = ( ) => {
11+ const navigate = useNavigate ( )
1112 // for login data
1213 const [ LoginData , SetLoginData ] = useState ( {
1314 email : '' ,
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import '@jehankandy/jkcss/src/layout/columns/columns.css'
88import '@jehankandy/jkcss/src/buttons/button.css'
99
1010const SignUp = ( ) => {
11+ const navigate = useNavigate ( )
1112 // for login data
1213 const [ SignUpData , SetSignUpData ] = useState ( {
1314 username : '' ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import axios from 'axios'
55import secureLocalStorage from "react-secure-storage" ;
66
77const SignIn = ( ) => {
8+ const navigate = useNavigate ( )
89 // for login data
910 const [ LoginData , SetLoginData ] = useState ( {
1011 email : '' ,
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { Link } from 'react-router-dom';
44import axios from 'axios'
55
66const SignUp = ( ) => {
7+ const navigate = useNavigate ( )
78 // for login data
89 const [ SignUpData , SetSignUpData ] = useState ( {
910 username : '' ,
You can’t perform that action at this time.
0 commit comments