0

I'm on react-router-dom v6.0.1
I'm unable to send props.graph to bot_chart component

<Link to="/chart/"
    state = {{
        graph_data: this.props.graph.points,
        table_data: this.props.graph.table,
        ticker: this.props.name
    }}>
    Click Here
</Link>

I tried to access it in bot_chart component using:

this.props.state.graph_data
and
this.props.graph_data

But none of them seem to be working

I'm TreaSUre
  • 102
  • 5

0 Answers0