"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.usePCEditorSettings = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const iframeContext_1 = require("../context/iframeContext/index.js");
const usePCEditorSettings = () => {
    const { url, setUrl } = React.useContext(iframeContext_1.IframeContext);
    return { currentUrl: url, changeUrl: setUrl };
};
exports.usePCEditorSettings = usePCEditorSettings;
//# sourceMappingURL=usePCEditorSettings.js.map
