From b8dedc399e57985784c5ef37040f71202abfec45 Mon Sep 17 00:00:00 2001 From: Balint Gabor <127662+gbalint@users.noreply.github.com> Date: Thu, 7 Dec 2023 18:35:15 +0100 Subject: [PATCH] Rename things --- editor/src/components/canvas/controls/comment-popup.tsx | 7 +------ .../src/components/inspector/sections/comment-section.tsx | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/editor/src/components/canvas/controls/comment-popup.tsx b/editor/src/components/canvas/controls/comment-popup.tsx index 82e9514e8116..456edf6fe877 100644 --- a/editor/src/components/canvas/controls/comment-popup.tsx +++ b/editor/src/components/canvas/controls/comment-popup.tsx @@ -3,12 +3,7 @@ import type { ComposerSubmitComment } from '@liveblocks/react-comments' import { Composer } from '@liveblocks/react-comments' import { useAtom } from 'jotai' import React from 'react' -import { - useCreateThread, - useEditThreadMetadata, - useSelf, - useStorage, -} from '../../../../liveblocks.config' +import { useCreateThread, useStorage } from '../../../../liveblocks.config' import '../../../../resources/editor/css/liveblocks-comments.css' import { getCollaboratorById, diff --git a/editor/src/components/inspector/sections/comment-section.tsx b/editor/src/components/inspector/sections/comment-section.tsx index 1c2be7d27f4f..b5ecd4582858 100644 --- a/editor/src/components/inspector/sections/comment-section.tsx +++ b/editor/src/components/inspector/sections/comment-section.tsx @@ -27,7 +27,6 @@ import { useCanvasLocationOfThread, getCollaboratorById, useMyThreadReadStatus, - useSetThreadReadStatus, } from '../../../core/commenting/comment-hooks' import { Substores, useEditorState } from '../../editor/store/store-hook' import { unless, when } from '../../../utils/react-conditionals'