Skip to content

Commit 7e79ca4

Browse files
Apply suggestions from code review
Co-Authored-By: Michaël De Boey <info@michaeldeboey.be>
1 parent 7a9e640 commit 7e79ca4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/app/src/app/pages/Sandbox/Editor/ForkFrozenSandboxModal/ForkFrozenSandboxModal.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { withTheme } from 'styled-components';
33
import { ThemeProvider } from '@codesandbox/components';
44
import { Alert } from 'app/pages/common/Modals/Common/Alert';
55
import { useOvermind } from 'app/overmind';
6-
import React from 'react';
6+
import React, { FunctionComponent } from 'react';
77
import useKeyPressEvent from 'react-use/lib/useKeyPressEvent';
88

99
const 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 {

0 commit comments

Comments
 (0)