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: Fixes React key error in browser on flow page for extra sidebar disclosure components #2295

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from

Conversation

596050
Copy link

@596050 596050 commented Jun 24, 2024

This pull request addresses the React key error that appears in the browser console on the flow page, specifically for the extra sidebar disclosure components.

Screenshot 2024-06-24 at 07 51 25

Changes:

  • Added unique key props to Fragment component in the ExtraSidebar component to resolve the warning.
  • Remove Fragment component without key attribute wrapping DisclosureComponent

Before:

  • React warning in the console: "Each child in a list should have a unique 'key' prop."

After:

  • No React key warnings in the browser console.

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jun 24, 2024
Copy link

vercel bot commented Jun 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langflow ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2024 3:38pm

@dosubot dosubot bot added the bug Something isn't working label Jun 24, 2024
@596050 596050 changed the title Fixes React key error in browser on flow page for extra sidebar disclosure components Fix: Fixes React key error in browser on flow page for extra sidebar disclosure components Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants