Skip to content

Commit

Permalink
Fix typecheck (#3652)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored Mar 9, 2020
1 parent 59a5d04 commit b452dab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app/src/app/overmind/namespaces/editor/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1481,8 +1481,8 @@ export const updateComment: AsyncAction<{
comment?: string;
isResolved: boolean;
};
}> = async ({ state, effects }, { id, data }) => {
if (!state.editor.currentSandbox) {
}> = async ({ effects, state }, { id, data }) => {
if (!state.editor.currentSandbox || !state.editor.currentComment) {
return;
}
const sandboxId = state.editor.currentSandbox.id;
Expand Down

0 comments on commit b452dab

Please sign in to comment.