File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/app/src/app/pages/Sandbox/Editor/ForkFrozenSandboxModal Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { withTheme } from 'styled-components';
33import { ThemeProvider } from '@codesandbox/components' ;
44import { Alert } from 'app/pages/common/Modals/Common/Alert' ;
55import { useOvermind } from 'app/overmind' ;
6- import React from 'react' ;
6+ import React , { FunctionComponent } from 'react' ;
77import useKeyPressEvent from 'react-use/lib/useKeyPressEvent' ;
88
99const ModalContent : React . FC = ( ) => {
@@ -28,7 +28,6 @@ const ModalContent: React.FC = () => {
2828 } ;
2929
3030 useKeyPressEvent ( 'Enter' , fork ) ;
31- // <Close onClick={() => modalsActions.forkFrozenModal.close('cancel')} />
3231 return (
3332 < Alert
3433 title = { `Frozen ${ customTemplate ? 'Template' : 'Sandbox' } ` }
@@ -51,7 +50,7 @@ const ModalContent: React.FC = () => {
5150 ) ;
5251} ;
5352
54- const ForkFrozenSandboxModalComponent : React . FC < { theme : any } > = ( {
53+ const ForkFrozenSandboxModalComponent : FunctionComponent < { theme : any } > = ( {
5554 theme,
5655} ) => {
5756 const {
You can’t perform that action at this time.
0 commit comments