diff --git a/packages/fast-component-explorer/app/explorer.tsx b/packages/fast-component-explorer/app/explorer.tsx index 7032790649e..44c7cfeaf7e 100644 --- a/packages/fast-component-explorer/app/explorer.tsx +++ b/packages/fast-component-explorer/app/explorer.tsx @@ -98,22 +98,20 @@ function setViewConfigsWithCustomConfig( ): ObjectOfComponentViewConfigs { const componentViewConfigs: ObjectOfComponentViewConfigs = {}; - Object.keys(viewConfigs).forEach( - (viewConfigKey: string): void => { - componentViewConfigs[viewConfigKey] = Object.assign( - {}, - viewConfigs[viewConfigKey], - { - scenarios: [ - { - displayName: "Custom", - data: viewConfigs[viewConfigKey].scenarios[0].data, - }, - ].concat(viewConfigs[viewConfigKey].scenarios), - } - ); - } - ); + Object.keys(viewConfigs).forEach((viewConfigKey: string): void => { + componentViewConfigs[viewConfigKey] = Object.assign( + {}, + viewConfigs[viewConfigKey], + { + scenarios: [ + { + displayName: "Custom", + data: viewConfigs[viewConfigKey].scenarios[0].data, + }, + ].concat(viewConfigs[viewConfigKey].scenarios), + } + ); + }); return componentViewConfigs; }