Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

Fix Flow errors in nav-button component

This PR fixes Flow errors that were occurring when using the TypeScript-converted nav-button component in Flow files.

Changes

  • Updated BackButton.js.flow to accept both Location and string for the to prop
  • Updated NavButton.js.flow to make the hash property optional in the Location type
  • Added .js.flow files for components that use the nav-button component to maintain Flow type compatibility

Related PR

This PR is related to #3966, which converts the nav-button component to TypeScript.

Link to Devin run: https://app.devin.ai/sessions/11a19ecf27cd4dbf856d59a802788239

@devin-ai-integration devin-ai-integration bot requested review from a team as code owners February 27, 2025 01:44
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@devin-ai-integration
Copy link
Contributor Author

Closing this PR as requested. The Flow fixes will be incorporated into the original PR #3966 instead.

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.

1 participant