File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,12 +43,12 @@ const useExampleOrGameTemplateDialogs = ({
4343
4444 const closeExampleStoreDialog = React . useCallback (
4545 ( {
46- deselectExampleAngGameTemplate ,
46+ deselectExampleAndGameTemplate ,
4747 } : { |
48- deselectExampleAngGameTemplate : boolean ,
48+ deselectExampleAndGameTemplate : boolean ,
4949 | } ) => {
5050 setExampleStoreDialogOpen ( false ) ;
51- if ( deselectExampleAngGameTemplate ) {
51+ if ( deselectExampleAndGameTemplate ) {
5252 setSelectedExampleShortHeader ( null ) ;
5353 setSelectedPrivateGameTemplateListingData ( null ) ;
5454 }
@@ -100,7 +100,7 @@ const useExampleOrGameTemplateDialogs = ({
100100 < ExampleStoreDialog
101101 open
102102 onClose = { ( ) =>
103- closeExampleStoreDialog ( { deselectExampleAngGameTemplate : true } )
103+ closeExampleStoreDialog ( { deselectExampleAndGameTemplate : true } )
104104 }
105105 isProjectOpening = { isProjectOpening }
106106 selectedExampleShortHeader = { selectedExampleShortHeader }
Original file line number Diff line number Diff line change @@ -920,7 +920,7 @@ const MainFrame = (props: Props) => {
920920 currentProject : project ,
921921 currentFileMetadata : fileMetadata ,
922922 } ) ) ;
923- closeExampleStoreDialog ( { deselectExampleAngGameTemplate : false } ) ;
923+ closeExampleStoreDialog ( { deselectExampleAndGameTemplate : false } ) ;
924924
925925 // Load all the EventsFunctionsExtension when the game is loaded. If they are modified,
926926 // their editor will take care of reloading them.
@@ -1157,7 +1157,7 @@ const MainFrame = (props: Props) => {
11571157 getStorageProviderOperations,
11581158 afterCreatingProject: async ({ project, editorTabs, oldProjectId }) => {
11591159 setNewProjectSetupDialogOpen(false);
1160- closeExampleStoreDialog({ deselectExampleAngGameTemplate : true });
1160+ closeExampleStoreDialog({ deselectExampleAndGameTemplate : true });
11611161 findLeaderboardsToReplace(project, oldProjectId);
11621162 openSceneOrProjectManager({
11631163 currentProject: project,
You can’t perform that action at this time.
0 commit comments