Skip to content

Commit

Permalink
add missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
mishig25 committed Oct 16, 2023
1 parent d2374e4 commit d5325f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
(async () => {
const example = getWidgetExample<WidgetExampleAssetAndPromptInput>(model, isAssetAndPromptInput);
if (callApiOnMount && example) {
applyInputSample(example, { inferenceOpts: { isOnLoadCall: true } });
await applyInputSample(example, { inferenceOpts: { isOnLoadCall: true } });
}
})();
});
Expand Down

0 comments on commit d5325f9

Please sign in to comment.