Explorar o código

Sandbox polish (#4288)

Co-authored-by: sunguroku <trevor@porter.run>
sunguroku %!s(int64=2) %!d(string=hai) anos
pai
achega
f6070d6695
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dashboard/src/main/home/new-project/NewProject.tsx

+ 1 - 1
dashboard/src/main/home/new-project/NewProject.tsx

@@ -179,7 +179,7 @@ export const NewProjectFC = () => {
           </InputWrapper>
           </InputWrapper>
           <NewProjectSaveButton
           <NewProjectSaveButton
             text="Create project"
             text="Create project"
-            disabled={false}
+            disabled={buttonStatus === "loading"}
             onClick={createProject}
             onClick={createProject}
             status={buttonStatus === "loading"}
             status={buttonStatus === "loading"}
             makeFlush={true}
             makeFlush={true}