This repository was archived by the owner on Aug 29, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 142
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
console.log in dcc.Tabs #300
Copy link
Copy link
Closed
Description
There is console log in the Tabs component render, it should be removed.
dash-core-components/src/components/Tabs.react.js
Lines 171 to 184 in 29d9f1d
| window.console.log('this.props.children', this.props.children); | |
| EnhancedTabs = this.props.children.map((child, index) => { | |
| // TODO: handle components that are not dcc.Tab components (throw error) | |
| // enhance Tab components coming from Dash (as dcc.Tab) with methods needed for handling logic | |
| let childProps; | |
| window.console.log('child', child); | |
| if (child.props.children) { | |
| // if props appears on .children, props are coming from Dash | |
| childProps = child.props.children.props; | |
| } else { | |
| // else props are coming from React (Demo.react.js) | |
| window.console.log('child props', child.props); |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels