File tree Expand file tree Collapse file tree 3 files changed +28
-21
lines changed
packages/app/src/app/pages/common/Modals Expand file tree Collapse file tree 3 files changed +28
-21
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import React from 'react' ;
2+
3+ import { useOvermind } from 'app/overmind' ;
4+ import Loadable from 'app/utils/Loadable' ;
5+
6+ import { Heading , Container } from '../elements' ;
7+
8+ const Feedback = Loadable ( ( ) =>
9+ import ( /* webpackChunkName: 'feedback' */ './Feedback' )
10+ ) ;
11+
12+ export const FeedbackModal : React . FC = ( ) => {
13+ const {
14+ state : {
15+ user,
16+ editor : { currentId } ,
17+ } ,
18+ } = useOvermind ( ) ;
19+
20+ return (
21+ < Container >
22+ < Heading > Submit Feedback</ Heading >
23+
24+ < Feedback user = { user } id = { currentId } />
25+ </ Container >
26+ ) ;
27+ } ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import DeleteSandboxModal from './DeleteSandboxModal';
1515import DeploymentModal from './DeploymentModal' ;
1616import EmptyTrash from './EmptyTrash' ;
1717import ExportGitHubModal from './ExportGitHubModal' ;
18- import FeedbackModal from './FeedbackModal' ;
18+ import { FeedbackModal } from './FeedbackModal' ;
1919import { ForkServerModal } from './ForkServerModal' ;
2020import LiveSessionEnded from './LiveSessionEnded' ;
2121import LiveSessionVersionMismatch from './LiveSessionVersionMismatch' ;
You can’t perform that action at this time.
0 commit comments