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.
1 parent ec5f113 commit f0fde44Copy full SHA for f0fde44
packages/app/src/app/pages/Dashboard/Content/CreateNewSandbox/Modal/index.js
@@ -1,5 +1,7 @@
1
import React from 'react';
2
3
+import track from '@codesandbox/common/lib/utils/analytics';
4
+
5
import GithubLogo from 'react-icons/lib/go/mark-github';
6
import TerminalIcon from 'react-icons/lib/go/terminal';
7
import UploadIcon from 'react-icons/lib/go/cloud-upload';
@@ -24,6 +26,7 @@ export default class Modal extends React.PureComponent {
24
26
};
25
27
28
selectTemplate = template => {
29
+ track('New Sandbox Modal - Select Template', { template });
30
this.props.createSandbox(template);
31
32
0 commit comments