Skip to content

Commit

Permalink
fix(useAuth): fix imports to use only needed SDK & fixed typo in docs (
Browse files Browse the repository at this point in the history
…vitest-dev#341)

* fix(useAuth): fix imports to use only needed SDK & fixed typo in docs

* removed side effect from useAuth
  • Loading branch information
wheatjs committed Feb 23, 2021
1 parent d9da199 commit 0d3e390
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/firebase/useAuth/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const signIn = () => auth().signInWithPopup(new GoogleAuthProvider())
</template>
```

Using a different firebaes auth instance
Using a different firebase auth instance
```ts
import firebase from 'firebase'
const { isAuthenticated, user } = useAuth(firebase.auth) // or userAuth(firebase.auth())
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase/useAuth/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { computed, ComputedRef, ref, Ref } from 'vue-demi'
import firebase from 'firebase'
import firebase from 'firebase/app'

export interface FirebaseAuthOptions {
isAuthenticated: ComputedRef<boolean>
Expand Down

0 comments on commit 0d3e390

Please sign in to comment.