diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index ef4ac18ad0..2ed762f877 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -18,6 +18,9 @@ export function Workspace () { const displayOzCustomRef = useRef() const ozFeatures = useRef({mintable: false, burnable: false, pausable: false}) const upgradeable = useRef() + const mintableCheckboxRef = useRef() + const burnableCheckboxRef = useRef() + const pausableCheckboxRef = useRef() const global = useContext(FileSystemContext) const workspaceRenameInput = useRef() const workspaceCreateInput = useRef() @@ -157,6 +160,12 @@ export function Workspace () { displayOzCustomRef.current.style.display = 'block' upgradeable.current = undefined ozFeatures.current = {mintable: false, burnable: false, pausable: false} + // @ts-ignore + mintableCheckboxRef.current.checked = false + // @ts-ignore + burnableCheckboxRef.current.checked = false + // @ts-ignore + pausableCheckboxRef.current.checked = false } else displayOzCustomRef.current.style.display = 'none' // @ts-ignore @@ -212,17 +221,17 @@ export function Workspace () { -
handleFeatures(e)}> +
- + handleFeatures(e)} ref={mintableCheckboxRef} />
- + handleFeatures(e)} ref={burnableCheckboxRef} />
- + handleFeatures(e)} ref={pausableCheckboxRef} />