Skip to content

Commit 0225446

Browse files
committed
fix type in fleet story context
1 parent 9861131 commit 0225446

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • x-pack/plugins/fleet/storybook/context

x-pack/plugins/fleet/storybook/context/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
import React from 'react';
99

10+
import { EMPTY } from 'rxjs';
1011
import type { StoryContext } from '@storybook/react';
1112
import { createBrowserHistory } from 'history';
1213

@@ -66,6 +67,9 @@ export const StorybookContext: React.FC<{ storyContext?: StoryContext }> = ({
6667
notifications: getNotifications(),
6768
share: getShare(),
6869
uiSettings: getUiSettings(),
70+
theme: {
71+
theme$: EMPTY,
72+
},
6973
};
7074

7175
setHttpClient(startServices.http);

0 commit comments

Comments
 (0)