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