|
|
@ -117,7 +117,6 @@ const App = () => { |
|
|
|
<Button data-id="add-repository" className="w-100 btn btn-secondary" onClick={() => { |
|
|
|
<Button data-id="add-repository" className="w-100 btn btn-secondary" onClick={() => { |
|
|
|
{cloneCount === 0 ? remixClient.cloneVyperRepo() : remixClient.cloneVyperRepo(cloneCount)} |
|
|
|
{cloneCount === 0 ? remixClient.cloneVyperRepo() : remixClient.cloneVyperRepo(cloneCount)} |
|
|
|
setCloneCount((prev) => { |
|
|
|
setCloneCount((prev) => { |
|
|
|
console.log(prev) |
|
|
|
|
|
|
|
return ++prev |
|
|
|
return ++prev |
|
|
|
}) |
|
|
|
}) |
|
|
|
}}> |
|
|
|
}}> |
|
|
|