Skip to content

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