sidebase / nuxt-auth

Authentication built for Nuxt 3! Easily add authentication via OAuth providers, credentials or Email Magic URLs!
https://auth.sidebase.io
MIT License
1.31k stars 164 forks source link

Typo in the custom error page documentation #893

Closed bahulneel closed 2 months ago

bahulneel commented 2 months ago

Environment

N/A

Reproduction

N/A

Describe the bug

This code block has a typo for the error code

<script setup lang="ts">
// Remember to disable the middleware protection from your page!
definePageMeta({
  auth: { unauthenticatedOnly: true, navigateAuthenticatedTo: '/' }
})

const route = useRoute()
const erorCode = computed(() => route.params.error)
</script>

Additional context

No response

Logs

No response