"use strict";
'use client';
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const hooks_1 = require("@akinon/next/hooks");
const error_page_1 = __importDefault(require("@akinon/next/views/error-page"));
function ErrorPage({ error, reset }) {
    // DO NOT REMOVE THIS LINE TO REPORT UNCAUGHT ERRORS TO SENTRY
    (0, hooks_1.useSentryUncaughtErrors)(error);
    return React.createElement(error_page_1.default, { error: error, reset: reset });
}
exports.default = ErrorPage;
