Fix typecheck errors

This commit is contained in:
Zoltán Bedi 2021-10-28 14:20:47 +02:00
parent a8f198130c
commit 737c8ea8c1
2 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@ export const Lines: Story<StoryProps> = ({ placement, unit, legendDisplayMode, .
placement: placement, placement: placement,
calcs: [], calcs: [],
}} }}
panelId={1}
timeZone="browser" timeZone="browser"
/> />
); );

View File

@ -199,6 +199,7 @@ describe('GraphNG utils', () => {
eventBus: new EventBusSrv(), eventBus: new EventBusSrv(),
sync: DashboardCursorSync.Tooltip, sync: DashboardCursorSync.Tooltip,
allFrames: [frame!], allFrames: [frame!],
panelId: 1,
}).getConfig(); }).getConfig();
expect(result).toMatchSnapshot(); expect(result).toMatchSnapshot();
}); });