refactor: setup

This commit is contained in:
Anthony Fu 2022-12-28 04:50:29 +01:00
parent 970b6538e2
commit 3079867e2a
7 changed files with 38 additions and 42 deletions

View file

@ -6,8 +6,6 @@ const { error } = defineProps<{
error: Partial<NuxtError>
}>()
setupPageHeader()
// add more custom status codes messages here
const errorCodes: Record<number, string> = {
404: 'Page not found',