'use client';
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
export default function GlobalError({ error, reset, }) {
    return (_jsx("html", { lang: "en", children: _jsx("body", { children: _jsxs("div", { style: { padding: '2rem', fontFamily: 'sans-serif' }, children: [_jsx("h2", { children: "Something went wrong" }), _jsx("p", { children: error.message }), _jsx("button", { onClick: reset, style: { marginTop: '1rem', cursor: 'pointer' }, children: "Try again" })] }) }) }));
}
