mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 22:39:41 +08:00
Fix minor typos (#43)
This commit is contained in:
committed by
Satyajit Sahoo
parent
5f4c335e51
commit
bacc023385
@@ -73,14 +73,14 @@ static navigationOptions = {
|
||||
let right = (
|
||||
<Button
|
||||
title={`${state.params.user}'s info`}
|
||||
onPress={() => setParams({ mode: 'info' }}
|
||||
onPress={() => setParams({ mode: 'info' })}
|
||||
/>
|
||||
);
|
||||
if (state.params.mode === 'info') {
|
||||
right = (
|
||||
<Button
|
||||
title="Done"
|
||||
onPress={() => setParams({ mode: 'none' }}
|
||||
onPress={() => setParams({ mode: 'none' })}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user