Skip to content

Commit fbcbbb7

Browse files
committed
chore: main merge
1 parent e24221c commit fbcbbb7

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/livePreview/editButton/__test__/editButtonAction.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ describe("cslp tooltip", () => {
598598
});
599599
new LivePreview();
600600

601-
let tooltip = document.querySelector(
601+
const tooltip = document.querySelector(
602602
"[data-test-id='cs-cslp-tooltip']"
603603
);
604604
const tooltipParent = tooltip?.parentNode;

src/visualBuilder/eventManager/useHideFocusOverlayPostMessageEvent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function useHideFocusOverlayPostMessageEvent({
1818
visualBuilderPostMessage?.on(
1919
VisualBuilderPostMessageEvents.HIDE_FOCUS_OVERLAY,
2020
(args: { data: { noTrigger: boolean; fromCollab: boolean } }) => {
21-
if (Boolean(args?.data?.fromCollab)) {
21+
if (args?.data?.fromCollab) {
2222
Config.set("collab.enable", true);
2323
Config.set("collab.pauseFeedback", true);
2424
}

src/visualBuilder/hooks/useCommentTextArea.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ export const useCommentTextArea = (
389389
try {
390390
let threadUID: string = activeThread?._id;
391391
if (activeThread?._id == "new") {
392-
let currentThread: IThreadResponseDTO = await createNewThread();
392+
const currentThread: IThreadResponseDTO = await createNewThread();
393393
threadUID = currentThread?.thread?._id;
394394
setActiveThread(currentThread?.thread);
395395
}
@@ -410,7 +410,7 @@ export const useCommentTextArea = (
410410
};
411411

412412
if (editComment) {
413-
let commentResponse: ICommentResponse = await onEditComment({
413+
const commentResponse: ICommentResponse = await onEditComment({
414414
threadUid: threadUID,
415415
commentUid: editComment,
416416
payload: commentPayload,
@@ -437,7 +437,7 @@ export const useCommentTextArea = (
437437
});
438438
onClose(false);
439439
} else {
440-
let commentResponse: ICommentResponse =
440+
const commentResponse: ICommentResponse =
441441
await onCreateComment(commentData);
442442
setThreadState((prevState: IThreadPopupState) => ({
443443
...prevState,

0 commit comments

Comments
 (0)