Skip to content

Commit d63554f

Browse files
committed
remove comment from the wrong place
1 parent 46a7af3 commit d63554f

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/overmind/namespaces/editor

1 file changed

+1
-1
lines changed

packages/app/src/app/overmind/namespaces/editor/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@ export const deleteReply: AsyncAction<{
15281528
replyId: string;
15291529
commentId: string;
15301530
}> = async ({ state, effects }, { replyId, commentId }) => {
1531-
if (!state.editor.currentSandbox || !state.editor.currentComment) {
1531+
if (!state.editor.currentSandbox) {
15321532
return;
15331533
}
15341534
const sandboxId = state.editor.currentSandbox.id;

0 commit comments

Comments
 (0)