Corrección en login
This commit is contained in:
parent
82f21e4449
commit
c60a34a16f
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@chimera-pe/react-saas",
|
"name": "@chimera-pe/react-saas",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|
|
@ -5,7 +5,7 @@ import {login,logout,refreshToken} from "../redux";
|
||||||
|
|
||||||
const useCheckLogin=(devURL) => {
|
const useCheckLogin=(devURL) => {
|
||||||
const dispatch=useDispatch();
|
const dispatch=useDispatch();
|
||||||
const loginStatus=useSelector(store => store.loginStatus);
|
const loginStatus=useSelector(store => store.login);
|
||||||
const instancia=useSelector(store => store.aplicacion.instancia);
|
const instancia=useSelector(store => store.aplicacion.instancia);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue