"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useMainEditorStore = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const zustand_1 = require("zustand");
const editorStore_1 = require("../context/editorStore/index.js");
const useMainEditorStore = () => {
    const { state } = React.useContext(editorStore_1.MainEditorStoreContext);
    return (0, zustand_1.useStore)(state);
};
exports.useMainEditorStore = useMainEditorStore;
//# sourceMappingURL=useMainEditorStore.js.map
