File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
packages/app/src/app/pages/common/Modals
DeleteProfileSandboxModal Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11import React , { FunctionComponent } from 'react' ;
2+
23import { Alert } from 'app/components/Alert' ;
34import { useOvermind } from 'app/overmind' ;
45
5- const DeleteProfileSandboxModal : FunctionComponent = ( ) => {
6+ export const DeleteProfileSandboxModal : FunctionComponent = ( ) => {
67 const {
78 actions : {
89 modalClosed,
910 profile : { sandboxDeleted } ,
1011 } ,
1112 } = useOvermind ( ) ;
13+
1214 return (
1315 < Alert
14- title = "Delete Sandbox"
1516 body = "Are you sure you want to delete this sandbox?"
1617 onCancel = { ( ) => modalClosed ( ) }
1718 onConfirm = { ( ) => sandboxDeleted ( ) }
19+ title = "Delete Sandbox"
1820 />
1921 ) ;
20- }
21-
22- export default DeleteProfileSandboxModal ;
22+ } ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { ThemeProvider } from 'styled-components';
1010
1111import CommitModal from './CommitModal' ;
1212import DeleteDeploymentModal from './DeleteDeploymentModal' ;
13- import DeleteProfileSandboxModal from './DeleteProfileSandboxModal' ;
13+ import { DeleteProfileSandboxModal } from './DeleteProfileSandboxModal' ;
1414import DeleteSandboxModal from './DeleteSandboxModal' ;
1515import DeploymentModal from './DeploymentModal' ;
1616import EmptyTrash from './EmptyTrash' ;
You can’t perform that action at this time.
0 commit comments