diff --git a/addons/interactions/src/instrument.ts b/addons/interactions/src/instrument.ts
index 534823101aa..e920ad38f59 100644
--- a/addons/interactions/src/instrument.ts
+++ b/addons/interactions/src/instrument.ts
@@ -115,7 +115,7 @@ function patch(method: string, fn: Function, options: Options) {
return patched;
}
-const initialize = () => {
+function initialize() {
try {
if (!global.window.__STORYBOOK_ADDON_TEST_PREVIEW__) {
global.window.__STORYBOOK_ADDON_TEST_PREVIEW__ = {
@@ -145,6 +145,7 @@ const initialize = () => {
iframeState.n = iframeState.callRefsByResult.size;
iframeState.next = {};
});
+
initialized = true;
} catch (e) {
console.warn(e);
diff --git a/addons/interactions/stories/AccountForm.stories.tsx b/addons/interactions/stories/AccountForm.stories.tsx
index 0b651f9b2ef..74e66e37e8f 100644
--- a/addons/interactions/stories/AccountForm.stories.tsx
+++ b/addons/interactions/stories/AccountForm.stories.tsx
@@ -22,7 +22,7 @@ Demo.play = async ({ args }) => {
};
export const WaitFor = (args) => (
-
+
);
WaitFor.argTypes = {
onSubmit: { action: true },