From 00dc873319f764c04d3a61e73edd82467c90a88c Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Thu, 22 Aug 2024 16:32:00 +0200 Subject: [PATCH] fix init --- libs/remix-ui/git/src/components/gitui.tsx | 2 ++ libs/remix-ui/git/src/components/panels/init.tsx | 3 --- libs/remix-ui/git/src/components/panels/setup.tsx | 2 -- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/libs/remix-ui/git/src/components/gitui.tsx b/libs/remix-ui/git/src/components/gitui.tsx index eb992e60c4..b177d069b7 100644 --- a/libs/remix-ui/git/src/components/gitui.tsx +++ b/libs/remix-ui/git/src/components/gitui.tsx @@ -175,6 +175,8 @@ export const GitUI = (props: IGitUi) => { {setup ? : null} {needsInit ? : null} + {setup || needsInit ? <>
CLONE
+ : null} {!setup && !needsInit ? diff --git a/libs/remix-ui/git/src/components/panels/init.tsx b/libs/remix-ui/git/src/components/panels/init.tsx index 37969cfb0b..37996deddd 100644 --- a/libs/remix-ui/git/src/components/panels/init.tsx +++ b/libs/remix-ui/git/src/components/panels/init.tsx @@ -27,9 +27,6 @@ export const Init = () => { > -
-
CLONE
- ) } \ No newline at end of file diff --git a/libs/remix-ui/git/src/components/panels/setup.tsx b/libs/remix-ui/git/src/components/panels/setup.tsx index 71b35f1499..981b0926c4 100644 --- a/libs/remix-ui/git/src/components/panels/setup.tsx +++ b/libs/remix-ui/git/src/components/panels/setup.tsx @@ -20,8 +20,6 @@ export const Setup = () => {
-
CLONE
- ) } else if (screen === 1) {