카테고리 없음
firebase사용중 undefined 오류??
toujours_
2021. 2. 4. 02:50
export const authService = firebase.auth();
로 선언해두고
다른컴포넌트에서 authService 를 import해서 사용하곤했는데,
authService.Auth.Persistence.LOCAL 로
firebase.auth.Auth.Persistence.LOCAL
를 불러오지못하는현상이 발생했다.
왜 대체 왜 안될까 ... 생각을해봤는데.. 내눈이 잘못된거였다.
firebase.auth와
firebase.auth()는
다르다!
반응형