@@ -22,9 +22,7 @@ import {
2222 closeCostumeLibrary ,
2323 closeBackdropLibrary ,
2424 closeTelemetryModal ,
25- openExtensionLibrary ,
26- openGitHubOAuthModal ,
27- closeGitHubOAuthModal
25+ openExtensionLibrary
2826} from '../reducers/modals' ;
2927
3028import FontLoaderHOC from '../lib/font-loader-hoc.jsx' ;
@@ -103,9 +101,6 @@ class GUI extends React.Component {
103101 return (
104102 < GUIComponent
105103 loading = { fetchingProject || isLoading || loadingStateVisible }
106- githubOAuthModalVisible = { githubOAuthModalVisible }
107- onOpenGitHubOAuthModal = { onOpenGitHubOAuthModal }
108- onRequestCloseGitHubOAuthModal = { onRequestCloseGitHubOAuthModal }
109104 { ...componentProps }
110105 >
111106 { children }
@@ -137,9 +132,6 @@ GUI.propTypes = {
137132 projectHost : PropTypes . string ,
138133 projectId : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . number ] ) ,
139134 telemetryModalVisible : PropTypes . bool ,
140- githubOAuthModalVisible : PropTypes . bool ,
141- onOpenGitHubOAuthModal : PropTypes . func ,
142- onRequestCloseGitHubOAuthModal : PropTypes . func ,
143135 vm : PropTypes . instanceOf ( VM ) . isRequired
144136} ;
145137
@@ -185,7 +177,6 @@ const mapStateToProps = state => {
185177 fontsModalVisible : state . scratchGui . modals . fontsModal ,
186178 unknownPlatformModalVisible : state . scratchGui . modals . unknownPlatformModal ,
187179 invalidProjectModalVisible : state . scratchGui . modals . invalidProjectModal ,
188- githubOAuthModalVisible : state . scratchGui . modals . githubOAuthModal ,
189180 vm : state . scratchGui . vm
190181 } ;
191182} ;
@@ -197,9 +188,7 @@ const mapDispatchToProps = dispatch => ({
197188 onActivateSoundsTab : ( ) => dispatch ( activateTab ( SOUNDS_TAB_INDEX ) ) ,
198189 onRequestCloseBackdropLibrary : ( ) => dispatch ( closeBackdropLibrary ( ) ) ,
199190 onRequestCloseCostumeLibrary : ( ) => dispatch ( closeCostumeLibrary ( ) ) ,
200- onRequestCloseTelemetryModal : ( ) => dispatch ( closeTelemetryModal ( ) ) ,
201- onRequestOpenGitHubOAuthModal : ( ) => dispatch ( openGitHubOAuthModal ( ) ) ,
202- onRequestCloseGitHubOAuthModal : ( ) => dispatch ( closeGitHubOAuthModal ( ) )
191+ onRequestCloseTelemetryModal : ( ) => dispatch ( closeTelemetryModal ( ) )
203192} ) ;
204193
205194const ConnectedGUI = injectIntl ( connect (
0 commit comments