Skip to content

Commit 25adb02

Browse files
authored
Fix typo (4ian#6337)
Don't show in changelog
1 parent 54bd296 commit 25adb02

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

newIDE/app/src/MainFrame/UseExampleOrGameTemplateDialogs.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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}

newIDE/app/src/MainFrame/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)