diff --git a/resources/js/Composables/errorInfo.js b/resources/js/Composables/errorInfo.js deleted file mode 100644 index 45b9eb2..0000000 --- a/resources/js/Composables/errorInfo.js +++ /dev/null @@ -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, - } -}