fix no dispatch

pull/5026/head
bunsenstraat 4 months ago committed by Aniket
parent 40dcc81425
commit 10b7dfdc12
  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