File tree Expand file tree Collapse file tree 4 files changed +7
-8
lines changed
packages/app/src/app/pages/common/Modals
LiveSessionVersionMismatch Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { Alert } from 'app/components/Alert' ;
3- import { inject } from 'app/componentConnectors' ;
3+ import { inject , hooksObserver } from 'app/componentConnectors' ;
44import { permanentlyDeleteSandboxes } from '../../../Dashboard/queries' ;
55
66function EmptyTrash ( { signals, store } ) {
@@ -22,4 +22,4 @@ function EmptyTrash({ signals, store }) {
2222 ) ;
2323}
2424
25- export default inject ( 'signals' , 'store' ) ( EmptyTrash ) ;
25+ export default inject ( 'signals' , 'store' ) ( hooksObserver ( EmptyTrash ) ) ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
22
3- import { inject } from 'app/componentConnectors' ;
3+ import { inject , hooksObserver } from 'app/componentConnectors' ;
44import Loadable from 'app/utils/Loadable' ;
55
66import { Heading , Container } from '../elements' ;
@@ -17,4 +17,4 @@ const FeedbackModal = ({ store }) => (
1717 </ Container >
1818) ;
1919
20- export default inject ( 'store' ) ( FeedbackModal ) ;
20+ export default inject ( 'store' ) ( hooksObserver ( FeedbackModal ) ) ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { inject } from 'app/componentConnectors' ;
2+ import { inject , hooksObserver } from 'app/componentConnectors' ;
33
44import { Button } from '@codesandbox/common/lib/components/Button' ;
55import Row from '@codesandbox/common/lib/components/flex/Row' ;
@@ -49,4 +49,4 @@ function LiveModeEnded({ signals, store }) {
4949 ) ;
5050}
5151
52- export default inject ( 'signals' , 'store' ) ( LiveModeEnded ) ;
52+ export default inject ( 'signals' , 'store' ) ( hooksObserver ( LiveModeEnded ) ) ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { inject } from 'app/componentConnectors' ;
32
43import { Container , Heading , Explanation } from '../elements' ;
54
@@ -20,4 +19,4 @@ function LiveVersionMismatch() {
2019 ) ;
2120}
2221
23- export default inject ( 'store' ) ( LiveVersionMismatch ) ;
22+ export default LiveVersionMismatch ;
You can’t perform that action at this time.
0 commit comments