From 737c8ea8c1f972fd806061842b2985b8dac96214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Bedi?= Date: Thu, 28 Oct 2021 14:20:47 +0200 Subject: [PATCH] Fix typecheck errors --- .../grafana-ui/src/components/GraphNG/GraphNG.story.internal.tsx | 1 + packages/grafana-ui/src/components/GraphNG/utils.test.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/grafana-ui/src/components/GraphNG/GraphNG.story.internal.tsx b/packages/grafana-ui/src/components/GraphNG/GraphNG.story.internal.tsx index ae37418ac46..4c01ecc07ba 100644 --- a/packages/grafana-ui/src/components/GraphNG/GraphNG.story.internal.tsx +++ b/packages/grafana-ui/src/components/GraphNG/GraphNG.story.internal.tsx @@ -62,6 +62,7 @@ export const Lines: Story = ({ placement, unit, legendDisplayMode, . placement: placement, calcs: [], }} + panelId={1} timeZone="browser" /> ); diff --git a/packages/grafana-ui/src/components/GraphNG/utils.test.ts b/packages/grafana-ui/src/components/GraphNG/utils.test.ts index 7552cd1974f..0726e112289 100644 --- a/packages/grafana-ui/src/components/GraphNG/utils.test.ts +++ b/packages/grafana-ui/src/components/GraphNG/utils.test.ts @@ -199,6 +199,7 @@ describe('GraphNG utils', () => { eventBus: new EventBusSrv(), sync: DashboardCursorSync.Tooltip, allFrames: [frame!], + panelId: 1, }).getConfig(); expect(result).toMatchSnapshot(); });