#93 - custom error pages #94

Merged
EwelinaLasowy merged 11 commits from #93-custom-error-pages into main 2022-03-30 09:06:25 +02:00
Showing only changes of commit 6129a384a6 - Show all commits

View File

@@ -1,16 +0,0 @@
const errors = [
{
'title': '404',
'description': 'Nie znaleziono strony',
},
]
export function useErrorInfo() {
const getErrors = () => errors
const findErrors = value => errors.find(error => error.value === value)
return {
getErrors,
findErrors,
}
}