From bc5ffa2f9f0822de2885b13fc3943828e300b1f7 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Mon, 14 Oct 2024 11:50:46 +0200 Subject: [PATCH] hide warning when there is no head in git --- libs/remix-ui/git/src/lib/gitactions.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/remix-ui/git/src/lib/gitactions.ts b/libs/remix-ui/git/src/lib/gitactions.ts index f7e549de2c..62c23412e3 100644 --- a/libs/remix-ui/git/src/lib/gitactions.ts +++ b/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('')); }