folder creation using Create

pull/1862/head
Aniket-Engg 3 years ago committed by Aniket
parent 50f44f1183
commit 63f3ed61cb
  1. 7
      libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx

@ -118,11 +118,8 @@ export const SolidityUnitTesting = (props: any) => {
}
}
const handleCreateFolder = (e:any) => {
console.log('handleCreateFolder')
let inputPath = e.target.value
inputPath = trimTestDirInput(inputPath)
const handleCreateFolder = () => {
let inputPath = trimTestDirInput(inputPathValue)
let path = helper.removeMultipleSlashes(inputPath)
if (path !== '/') path = helper.removeTrailingSlashes(path)
if (inputPath === '') inputPath = defaultPath

Loading…
Cancel
Save