mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-29 04:45:19 +08:00
fix: typo pops = props (#197)
This commit is contained in:
committed by
Krzysztof Magiera
parent
7d4bbb8f88
commit
b622abc935
@@ -20,7 +20,7 @@ import {
|
|||||||
|
|
||||||
function renderComponentOrThunk(componentOrThunk, props) {
|
function renderComponentOrThunk(componentOrThunk, props) {
|
||||||
if (typeof componentOrThunk === 'function') {
|
if (typeof componentOrThunk === 'function') {
|
||||||
return componentOrThunk(pops);
|
return componentOrThunk(props);
|
||||||
}
|
}
|
||||||
return componentOrThunk;
|
return componentOrThunk;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user