Skip to content
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

fix(storybook): Allow nuxt-link mock to take an Object for the to prop #158

Merged
merged 1 commit into from
Oct 30, 2020

Conversation

romevangrinsven
Copy link

Adjusted the Proptype for the nuxt-link mock

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)

Description

Nuxt Storybook gives errors in console.log when you pass an Object to the to prop (which is allowed and common ).

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes (if not applicable, please state why)
    No tests as it's a very minor change and none of the existing test cases cover it.

Copy link
Collaborator

@farnabaz farnabaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@farnabaz farnabaz changed the title FIX: Allow nuxt-link mock to take an Object for the to prop fix(storybook): Allow nuxt-link mock to take an Object for the to prop Oct 30, 2020
@farnabaz farnabaz merged commit 8f2cbdf into nuxt-modules:master Oct 30, 2020
@farnabaz farnabaz mentioned this pull request Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants