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(frontend): use Link component in transaction page #3013

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

jorgeepc
Copy link
Contributor

This PR fixes a navigation issue in the Transaction page by using the proper Link component.

Changes

  • use Link component instead of the react-router-dom instance

Fixes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

@jorgeepc jorgeepc self-assigned this Jul 31, 2023
<S.ExecutionStepRunLink to={toLink} target="_blank" data-cy="execution-step-run-link">
<LinkOutlined />
</S.ExecutionStepRunLink>
</div>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was causing a warning: Function components cannot be given refs.

@jorgeepc jorgeepc marked this pull request as ready for review July 31, 2023 20:43
@jorgeepc jorgeepc requested a review from xoscar July 31, 2023 20:44
@jorgeepc jorgeepc merged commit 56376d3 into main Jul 31, 2023
@jorgeepc jorgeepc deleted the fix/use-link-component branch July 31, 2023 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants