2 imports with the same name?
Answered
Morelet’s Crocodile posted this in #help-forum
Morelet’s CrocodileOP
Hey everyone. I'm trying to import the 2 items below into Next JS file. They're both named signOut. How do I rename one of these? Thanks!
import { signOut } from 'firebase/auth';
import { signOut } from 'next-auth/client';Answered by Ray
import { signOut as fbSignOut } from 'firebase/auth';
import { signOut } from 'next-auth/client';2 Replies
import { signOut as fbSignOut } from 'firebase/auth';
import { signOut } from 'next-auth/client';Answer
Morelet’s CrocodileOP
Thanks @Ray !