Fixed double shadow issue on toast component story (#20352)

no issues
This commit is contained in:
Sodbileg Gansukh 2024-06-10 11:46:13 +08:00 committed by GitHub
parent fefb9ec395
commit 81b46c53cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,6 @@
import type {Meta, StoryObj} from '@storybook/react';
import {ReactNode} from 'react';
import {Toaster} from 'react-hot-toast';
import Button from './Button';
import {ShowToastProps, showToast} from './Toast';
@ -25,7 +24,6 @@ const meta = {
tags: ['autodocs'],
decorators: [(_story: () => ReactNode) => (
<>
<Toaster />
{_story()}
</>
)]