How to rerender component when I switching tabs? I'm passing props to a component and I need to update it. Any ideas?
const panes = [
{
menuItem: "In process",
render: () => (
<Tab.Pane>
<RespondentsData stepId="_init_" />
</Tab.Pane>
),
},
{
menuItem: "No answer",
render: () => (
<Tab.Pane>
<RespondentsData stepId="_wait_" />
</Tab.Pane>
),
},
]
<Tab
className="respondents-tab"
menu={{ secondary: true, pointing: true }}
panes={this.panes()}
/>
this.panes()) comes from. Is it supposed to returnpains?) What's your issue?