diff --git a/libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx b/libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx index 08b26edf49..78525428e4 100644 --- a/libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx +++ b/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