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

next link story arg update #178

Merged
merged 1 commit into from
Mar 9, 2023
Merged

next link story arg update #178

merged 1 commit into from
Mar 9, 2023

Conversation

alishaevn
Copy link
Member

@alishaevn alishaevn commented Mar 6, 2023

story

update the nextlink component story "path" arg to match the prop type.

path: PropTypes.exact({
  pathname: PropTypes.string.isRequired,
  query: PropTypes.shape({}),
}).isRequired

expected behavior

  • the "path" arg is an object with "pathname" and "query" keys instead of a string

@alishaevn alishaevn merged commit e24d304 into main Mar 9, 2023
@alishaevn alishaevn deleted the next-link-story branch February 27, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants