@@ -86,8 +86,8 @@ const GUIComponent = props => {
86
86
costumeLibraryVisible,
87
87
costumesTabVisible,
88
88
debugModalVisible,
89
- displayDebugFeedback ,
90
- displayTutorialsFeedback ,
89
+ onDebugModalClose ,
90
+ onTutorialSelect ,
91
91
enableCommunity,
92
92
intl,
93
93
isCreating,
@@ -149,12 +149,12 @@ const GUIComponent = props => {
149
149
tabSelected : classNames ( tabStyles . reactTabsTabSelected , styles . isSelected )
150
150
} ;
151
151
152
- const onDebugModalClose = useCallback ( ( ) => {
153
- if ( displayDebugFeedback ) {
154
- displayDebugFeedback ( ) ;
152
+ const onCloseDebugModal = useCallback ( ( ) => {
153
+ if ( onDebugModalClose ) {
154
+ onDebugModalClose ( ) ;
155
155
}
156
156
onRequestCloseDebugModal ( ) ;
157
- } , [ displayDebugFeedback , onRequestCloseDebugModal ] ) ;
157
+ } , [ onDebugModalClose , onRequestCloseDebugModal ] ) ;
158
158
159
159
if ( isRendererSupported === null ) {
160
160
isRendererSupported = Renderer . isSupported ( ) ;
@@ -205,7 +205,7 @@ const GUIComponent = props => {
205
205
{ tipsLibraryVisible ? (
206
206
< TipsLibrary
207
207
hideTutorialProjects = { hideTutorialProjects }
208
- displayTutorialsFeedback = { displayTutorialsFeedback }
208
+ onTutorialSelect = { onTutorialSelect }
209
209
/>
210
210
) : null }
211
211
{ cardsVisible ? (
@@ -227,7 +227,7 @@ const GUIComponent = props => {
227
227
) : null }
228
228
{ < DebugModal
229
229
isOpen = { debugModalVisible }
230
- onClose = { onDebugModalClose }
230
+ onClose = { onCloseDebugModal }
231
231
/> }
232
232
{ backdropLibraryVisible ? (
233
233
< BackdropLibrary
@@ -426,8 +426,8 @@ GUIComponent.propTypes = {
426
426
costumeLibraryVisible : PropTypes . bool ,
427
427
costumesTabVisible : PropTypes . bool ,
428
428
debugModalVisible : PropTypes . bool ,
429
- displayDebugFeedback : PropTypes . func ,
430
- displayTutorialsFeedback : PropTypes . func ,
429
+ onDebugModalClose : PropTypes . func ,
430
+ onTutorialSelect : PropTypes . func ,
431
431
enableCommunity : PropTypes . bool ,
432
432
intl : intlShape . isRequired ,
433
433
isCreating : PropTypes . bool ,
0 commit comments