Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

console.log in dcc.Tabs #300

Description

@T4rk1n

There is console log in the Tabs component render, it should be removed.

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions