-
Notifications
You must be signed in to change notification settings - Fork 37
Moved storybook mocks to Preview #564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
vishalshrm539
commented
Jul 1, 2025
- Moved storybook mocks to Preview.
.storybook/preview.tsx
Outdated
| }; | ||
|
|
||
| export default preview; | ||
| function pcoreMocks() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a line break before this function
.storybook/preview.tsx
Outdated
| declare global { | ||
| interface Window { | ||
| PCore?: any; | ||
| } | ||
| } | ||
|
|
||
| declare global { | ||
| interface Window { | ||
| PCore?: any; | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like global declaration is duplicated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deleted.