mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +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);
|
this.props.onClick(e.currentTarget.value);
|
||||||
};
|
};
|
||||||
|
|
||||||
renderTabs(props: TabsProps<P>) {
|
renderTabs() {
|
||||||
const tabs = props.tabs;
|
const tabs = this.props.tabs;
|
||||||
const selected = props.selected;
|
const selected = this.props.selected;
|
||||||
|
|
||||||
return tabs.map((tab, i) => {
|
return tabs.map((tab, i) => {
|
||||||
let isSelected;
|
let isSelected;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user