mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 16:09:50 +03:00
Fix references to props
This commit is contained in:
parent
aadbe15472
commit
6ef617ca2b
|
@ -26,9 +26,9 @@ export default class Tabs<P> extends Component<TabsProps<P>> {
|
|||
this.props.onClick(e.currentTarget.value);
|
||||
};
|
||||
|
||||
renderTabs(props: TabsProps<P>) {
|
||||
const tabs = props.tabs;
|
||||
const selected = props.selected;
|
||||
renderTabs() {
|
||||
const tabs = this.props.tabs;
|
||||
const selected = this.props.selected;
|
||||
|
||||
return tabs.map((tab, i) => {
|
||||
let isSelected;
|
||||
|
|
Loading…
Reference in New Issue
Block a user