Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wobsoriano committed Dec 13, 2024
1 parent e6b0885 commit 27ced83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/references/vue/use-auth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ const fetchDataFromExternalResource = async () => {
</script>
<template>
<div v-if="!isLoaded">Loading...</div>
<div v-else-if="!isSignedIn">Sign in to view this page</div>
<div v-else>...</div>
<div v-if="!isLoaded">Loading...</div>
<div v-else-if="!isSignedIn">Sign in to view this page</div>
<div v-else>...</div>
</template>
```
8 changes: 2 additions & 6 deletions docs/references/vue/use-user.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,9 @@ const { isSignedIn, user, isLoaded } = useUser()
<!-- Handle loading state however you like -->
</div>
<div v-else-if="isSignedIn">
Hello {{ user.fullName }}!
</div>
<div v-else-if="isSignedIn">Hello {{ user.fullName }}!</div>
<div v-else>
Not signed in
</div>
<div v-else>Not signed in</div>
</template>
```

Expand Down

0 comments on commit 27ced83

Please sign in to comment.