Closed shilman closed 2 years ago
Awesome stuff ❤️
I found a bug in an example using Typescript:
export const withModalOpen: Story = Template.bind({})
withModalOpen.parameters = {
msw: [rest.get(REQUEST_URL, (req, res, ctx) => res(ctx.json(restaurants[0])))],
}
Resulted in:
export const WithModalOpen: Story = Template.bind({})
WithModalOpen: Story.parameters = { // 👈 broken!
msw: [rest.get(REQUEST_URL, (req, res, ctx) => res(ctx.json(restaurants[0])))],
}
Thank you @shilman !!
:rocket: PR was released in v0.3.0
:rocket:
Issue: N/A
What Changed
Support
Checklist
Check the ones applicable to your change:
yarn update-all
Change Type
Indicate the type of change your pull request is:
maintenance
documentation
patch
minor
major