Fix chromatic tests (#12551)
This commit is contained in:
committed by
GitHub
parent
ecbc116f8b
commit
10b97d56d4
@ -0,0 +1,8 @@
|
||||
import { RightDrawerProvider } from '@/ui/layout/right-drawer/contexts/RightDrawerContext';
|
||||
import { Decorator } from '@storybook/react';
|
||||
|
||||
export const RightDrawerDecorator: Decorator = (Story) => (
|
||||
<RightDrawerProvider value={{ isInRightDrawer: false }}>
|
||||
<Story />
|
||||
</RightDrawerProvider>
|
||||
);
|
||||
Reference in New Issue
Block a user