We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59a5d04 commit b452dabCopy full SHA for b452dab
packages/app/src/app/overmind/namespaces/editor/actions.ts
@@ -1481,8 +1481,8 @@ export const updateComment: AsyncAction<{
1481
comment?: string;
1482
isResolved: boolean;
1483
};
1484
-}> = async ({ state, effects }, { id, data }) => {
1485
- if (!state.editor.currentSandbox) {
+}> = async ({ effects, state }, { id, data }) => {
+ if (!state.editor.currentSandbox || !state.editor.currentComment) {
1486
return;
1487
}
1488
const sandboxId = state.editor.currentSandbox.id;
0 commit comments