From 652476cd6b6be58e44ad2b134e15dfad219389b6 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Sat, 13 Jul 2019 11:48:44 +0200 Subject: [PATCH] FIX #7292 --- addons/google-analytics/src/register.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/google-analytics/src/register.ts b/addons/google-analytics/src/register.ts index 860326b682b1..3c381e70b7eb 100644 --- a/addons/google-analytics/src/register.ts +++ b/addons/google-analytics/src/register.ts @@ -17,7 +17,7 @@ addons.register('storybook/google-analytics', api => { fatal: true, }); }); - api.on(STORY_MISSING, ({ id }: { id: string }) => { + api.on(STORY_MISSING, (id: string) => { ReactGA.exception({ description: `attempted to render ${id}, but it is missing`, fatal: false,