diff --git a/docs/guide/authjs/custom-pages.md b/docs/guide/authjs/custom-pages.md index 72f7332d..504c4eab 100644 --- a/docs/guide/authjs/custom-pages.md +++ b/docs/guide/authjs/custom-pages.md @@ -77,7 +77,7 @@ definePageMeta({ }) const route = useRoute() -const erorCode = computed(() => route.params.error) +const errorCode = computed(() => route.query.error)