hide warning when there is no head in git

pull/5284/head
bunsenstraat 1 month ago
parent 9cd461bc23
commit bc5ffa2f9f
  1. 1
      libs/remix-ui/git/src/lib/gitactions.ts

@ -132,7 +132,6 @@ export const showCurrentBranch = async () => {
const currentHead = await getCommitFromRef('HEAD');
dispatch(setCurrenHead(currentHead));
} catch (e) {
console.log(e)
dispatch(setCurrenHead(''));
}

Loading…
Cancel
Save