"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useIsSwapLiveApp = void 0;
const react_1 = require("react");
function useIsSwapLiveApp() {
    const [, setHasCrashed] = (0, react_1.useState)(false);
    const onLiveAppCrashed = (0, react_1.useCallback)(() => setHasCrashed(true), []);
    return {
        enabled: true,
        onLiveAppCrashed,
    };
}
exports.useIsSwapLiveApp = useIsSwapLiveApp;
//# sourceMappingURL=useIsSwapLiveApp.js.map