Skip to content

Commit 51204af

Browse files
committed
chore: cleanup commit
1 parent 8478bbc commit 51204af

4 files changed

Lines changed: 0 additions & 20 deletions

File tree

src/visualBuilder/components/fieldLabelWrapper.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ interface ICurrentField {
7575
isReference: boolean;
7676
referenceFieldName: string;
7777
parentContentTypeName: string;
78-
isEmbedded: boolean;
7978
}
8079

8180
function FieldLabelWrapperComponent(
@@ -92,7 +91,6 @@ function FieldLabelWrapperComponent(
9291
isReference: false,
9392
referenceFieldName: "",
9493
parentContentTypeName: "",
95-
isEmbedded: false,
9694
});
9795
const [displayNames, setDisplayNames] = useState<Record<string, string>>(
9896
{}
@@ -197,7 +195,6 @@ function FieldLabelWrapperComponent(
197195
<></>
198196
),
199197
isReference,
200-
isEmbedded: false,
201198
prefixIcon: getFieldIcon(fieldSchema),
202199
disabled: fieldDisabled,
203200
referenceFieldName,

src/visualBuilder/eventManager/useReferenceMapEvent.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/visualBuilder/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ import {
5656
clearThreadStatus,
5757
} from "./generators/generateThread";
5858
import { IThreadDTO } from "./types/collab.types";
59-
import { useReferenceMapEvents } from "./eventManager/useReferenceMapEvent";
6059

6160
interface VisualBuilderGlobalStateImpl {
6261
previousSelectedEditableDOM: HTMLElement | Element | null;
@@ -382,7 +381,6 @@ export class VisualBuilder {
382381
useRecalculateVariantDataCSLPValues();
383382
useDraftFieldsPostMessageEvent();
384383
useVariantFieldsPostMessageEvent();
385-
useReferenceMapEvents();
386384
}
387385
})
388386
.catch(() => {

src/visualBuilder/utils/types/postMessage.types.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,4 @@ export enum VisualBuilderPostMessageEvents {
5050
COLLAB_THREADS_REMOVE = "collab-threads-remove",
5151
COLLAB_THREAD_REOPEN = "collab-thread-reopen",
5252
COLLAB_THREAD_HIGHLIGHT = "collab-thread-highlight",
53-
}
54-
55-
export interface ReferenceMapPostMessageEventData {
56-
5753
}

0 commit comments

Comments
 (0)