diff --git a/resources/js/Pages/error-handling.jsx b/resources/js/Pages/error-handling.jsx index e7a3da2..75c8906 100644 --- a/resources/js/Pages/error-handling.jsx +++ b/resources/js/Pages/error-handling.jsx @@ -57,7 +57,7 @@ export default function () { ->withExceptions(function (Exceptions $exceptions) { $exceptions->respond(function (Response $response, Throwable $exception, Request $request) { if (! app()->environment(['local', 'testing']) && in_array($response->getStatusCode(), [500, 503, 404, 403])) { - return Inertia::render('Error', ['status' => $response->getStatusCode()]) + return Inertia::render('ErrorPage', ['status' => $response->getStatusCode()]) ->toResponse($request) ->setStatusCode($response->getStatusCode()); } elseif ($response->getStatusCode() === 419) {