Skip to content

Commit 58c79a9

Browse files
committed
Fix imports
1 parent c51d9b8 commit 58c79a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

web/libs/editor/src/tags/visual/Collapse.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
import { getRoot, types } from "mobx-state-tree";
22
import { observer } from "mobx-react";
33
import { Collapse } from "antd";
4+
import { ff } from "@humansignal/core";
45

56
import ProcessAttrsMixin from "../../mixins/ProcessAttrs";
67
import Registry from "../../core/Registry";
78

89
import Types from "../../core/Types";
910
import Tree from "../../core/Tree";
1011
import { isSelfServe } from "../../utils/billing";
11-
import { FF_BULK_ANNOTATION } from "../../utils/feature-flags";
12+
import { FF_BULK_ANNOTATION, FF_DEV_3391 } from "../../utils/feature-flags";
1213
import { guidGenerator } from "../../utils/unique";
1314

1415
const { Panel } = Collapse;
@@ -119,7 +120,7 @@ const Model = types
119120
const CollapseModel = types.compose("CollapseModel", Model, ProcessAttrsMixin);
120121

121122
const HtxCollapse = observer(({ item }) => {
122-
const isBulkMode = isFF(FF_BULK_ANNOTATION) && !isSelfServe() && item.store.hasInterface("annotation:bulk");
123+
const isBulkMode = ff.isActive(FF_BULK_ANNOTATION) && !isSelfServe() && item.store.hasInterface("annotation:bulk");
123124
// forceRender is needed to have proper `isReady` for nested object tags.
124125
// with Interactive View All we won't need it, because tags are rendered as usual.
125126
const extraProps = ff.isActive(FF_DEV_3391) ? {} : { forceRender: true };

0 commit comments

Comments
 (0)