diff --git a/code/lib/preview-api/src/modules/preview-web/Preview.tsx b/code/lib/preview-api/src/modules/preview-web/Preview.tsx index c5964131fad0..e55681bf9d18 100644 --- a/code/lib/preview-api/src/modules/preview-web/Preview.tsx +++ b/code/lib/preview-api/src/modules/preview-web/Preview.tsx @@ -186,7 +186,7 @@ export class Preview { return; } - await this.storyStore.setProjectAnnotations(projectAnnotations); + this.storyStore.setProjectAnnotations(projectAnnotations); this.emitGlobals(); } @@ -204,7 +204,7 @@ export class Preview { // This is the first time the story index worked, let's load it into the store if (!this.storyStore.storyIndex) { - await this.initializeWithStoryIndex(storyIndex); + this.initializeWithStoryIndex(storyIndex); } // Update the store with the new stories.