remove renaming

pull/3508/head
yann300 2 years ago
parent e7bb3ca73c
commit 9a9b1e8b9c
  1. 7
      libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx

@ -254,11 +254,6 @@ export function Workspace () {
setShowDropdown(isOpen)
}
const handleUpgradeability = () => {
// @ts-ignore
workspaceCreateInput.current.value = `${workspaceCreateTemplateInput.current.value + '_upgradeable'}_${Date.now()}`
}
const toggleBranches = (isOpen: boolean) => {
setShowBranches(isOpen)
}
@ -339,7 +334,7 @@ export function Workspace () {
</div>
<label id="wsName" className="form-check-label d-block mb-1"><FormattedMessage id='filePanel.upgradeability' /></label>
<div onChange={handleUpgradeability}>
<div>
<div className="d-flex ml-2 custom-control custom-radio">
<input className="custom-control-input" type="radio" name="upgradeability" value="transparent" id="transparent" ref={transparentRadioRef} />
<label className="form-check-label custom-control-label" htmlFor="transparent" data-id="upgradeTypeTransparent" >Transparent</label>

Loading…
Cancel
Save