Dont use ??=
parent
d0a437f8fb
commit
c5ac23047a
|
@ -46,7 +46,9 @@ export const ViewHeader = observer(function ViewHeader({
|
||||||
console.log(e)
|
console.log(e)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
canGoBack ??= store.nav.tab.canGoBack
|
if (typeof canGoBack === 'undefined') {
|
||||||
|
canGoBack = store.nav.tab.canGoBack
|
||||||
|
}
|
||||||
return (
|
return (
|
||||||
<View style={styles.header}>
|
<View style={styles.header}>
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
|
|
Loading…
Reference in New Issue