From db854625effccb8e1d0d326c8dd104588a61b611 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sun, 2 Oct 2022 20:21:49 +0800 Subject: [PATCH] Fix hooks stories comment [ci skip] --- code/lib/store/template/stories/hooks.stories.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/lib/store/template/stories/hooks.stories.ts b/code/lib/store/template/stories/hooks.stories.ts index 61e2a8eba06a..696c881c24cf 100644 --- a/code/lib/store/template/stories/hooks.stories.ts +++ b/code/lib/store/template/stories/hooks.stories.ts @@ -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);