Fix chromatic tests (#12551)

This commit is contained in:
Baptiste Devessier
2025-06-12 10:17:23 +02:00
committed by GitHub
parent ecbc116f8b
commit 10b97d56d4
3 changed files with 22 additions and 2 deletions

View File

@ -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>
);