mirror of
https://github.com/peridotbuild/peridot.git
synced 2024-12-30 14:00:56 +00:00
base/ts/mui: Remove unnecessary disables for post create dialog
This commit is contained in:
parent
821ad656d9
commit
284512f8fd
1 changed files with 2 additions and 7 deletions
|
@ -99,15 +99,10 @@ export const NewResource = <T extends StandardResource>(
|
|||
return (
|
||||
<>
|
||||
{props.showDialog && res && (
|
||||
<Dialog
|
||||
disableEscapeKeyDown
|
||||
disableScrollLock
|
||||
open>
|
||||
<Dialog disableEscapeKeyDown open>
|
||||
{props.showDialog(res)}
|
||||
<DialogActions>
|
||||
<Button onClick={navigateToResource}>
|
||||
Go to resource
|
||||
</Button>
|
||||
<Button onClick={navigateToResource}>Go to resource</Button>
|
||||
</DialogActions>
|
||||
</Dialog>
|
||||
)}
|
||||
|
|
Loading…
Reference in a new issue