export const singIn = (credentials)=>{
return(dispatch, getState , {getFirebase})=>{
const firebase= getFirebase();
firebase.auth().signInWithEmailAndPassword(
credentials.email,
credentials.password
).then(()=>{
dispatch({type:"LOGIN_SUCCESS"})
}).catch((err)=>{
dispatch({ type: 'LOGIN_ERROR', err})
})
};
};
это моя авторизация
import { signIn } from '../../store/actions/authActions'
И здесь я импортировал это, он показывает эту ошибку