We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ecd850 + 8055b68 commit baa3367Copy full SHA for baa3367
packages/app/src/app/pages/common/Modals/DeleteProfileSandboxModal/index.js
packages/app/src/app/pages/common/Modals/DeleteProfileSandboxModal/index.tsx
@@ -0,0 +1,22 @@
1
+import React, { FunctionComponent } from 'react';
2
+import { Alert } from 'app/components/Alert';
3
+import { useOvermind } from 'app/overmind';
4
+
5
+const DeleteProfileSandboxModal: FunctionComponent = () => {
6
+ const {
7
+ actions: {
8
+ modalClosed,
9
+ profile: { sandboxDeleted },
10
+ },
11
+ } = useOvermind();
12
+ return (
13
+ <Alert
14
+ title="Delete Sandbox"
15
+ body="Are you sure you want to delete this sandbox?"
16
+ onCancel={() => modalClosed()}
17
+ onConfirm={() => sandboxDeleted()}
18
+ />
19
+ );
20
+}
21
22
+export default DeleteProfileSandboxModal;
0 commit comments