fix no dispatch

pull/5370/head
bunsenstraat 7 months ago committed by Aniket
parent 724f79d6f4
commit 0cc59081cd
  1. 3
      libs/remix-ui/git/src/lib/gitactions.ts

@ -805,7 +805,8 @@ export const getBranchDifferences = async (branch: branch, remote: remote, state
}))
} catch (e) {
// do nothing
dispatch(resetBranchDifferences())
if(dispatch)
dispatch(resetBranchDifferences())
}
}

Loading…
Cancel
Save