Fix usage of react-inspector

This commit is contained in:
Ian VanSchooten 2022-09-04 22:04:33 -04:00
parent 4a9bd4460b
commit e45aaa6825
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@ import React, { FC, Fragment } from 'react';
import { styled, withTheme } from '@storybook/theming';
import type { Theme } from '@storybook/theming';
import Inspector from 'react-inspector';
import { Inspector } from 'react-inspector';
import { ActionBar, ScrollArea } from '@storybook/components';
import { Action, InspectorContainer, Counter } from './style';
@ -27,7 +27,7 @@ interface InspectorProps {
}
const ThemedInspector = withTheme(({ theme, ...props }: InspectorProps) => (
<Inspector theme={theme.addonActionsTheme || 'chromeLight'} {...props} />
<Inspector theme={theme.addonActionsTheme || 'chromeLight'} table={false} {...props} />
));
interface ActionLoggerProps {

View File

@ -1,4 +1,3 @@
// TODO: following packages need definition files or a TS migration
declare module 'global';
declare module 'react-inspector';
declare module 'uuid-browser/v4';