Skip to content

Commit

Permalink
Fix signature
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Jul 8, 2022
1 parent 640072e commit 26ec0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/preview-web/src/StoryRender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function createController(): AbortController {

function createStepFunction(context: PlayContext) {
const { step } = instrument(
{ step: (label: string, play: (context: PlayContext) => MaybePromise<void>) => play(context) },
{ step: (name: string, play: (context: PlayContext) => MaybePromise<void>) => play(context) },
{ intercept: true }
);
return step;
Expand Down

0 comments on commit 26ec0e6

Please sign in to comment.