Skip to content

Commit

Permalink
Fix hooks stories comment [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Oct 2, 2022
1 parent 0814a13 commit db85462
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/lib/store/template/stories/hooks.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export const UseState = {
],
play: async ({ canvasElement }: PlayFunctionContext) => {
const button = await within(canvasElement).findByText('Clicked 0 times');
// FIXME: hooks state does not trigger a re-render in vue2
// FIXME: onClick does not properly register in vue2
// https://github.com/storybookjs/storybook/issues/19318
if (globalThis.storybookRenderer === 'vue') return;

await userEvent.click(button);
Expand Down

0 comments on commit db85462

Please sign in to comment.