Lints some errors and warnings (#76)
This commit is contained in:
parent
2fce1637b4
commit
06e41167d0
22 changed files with 62 additions and 38 deletions
|
@ -15,7 +15,7 @@ export const Contacts = ({navIdx, visible, params}: ScreenParams) => {
|
|||
|
||||
useEffect(() => {
|
||||
if (visible) {
|
||||
store.nav.setTitle(navIdx, `Contacts`)
|
||||
store.nav.setTitle(navIdx, 'Contacts')
|
||||
}
|
||||
}, [store, visible])
|
||||
|
||||
|
|
|
@ -40,7 +40,9 @@ export const Profile = observer(({navIdx, visible, params}: ScreenParams) => {
|
|||
} else {
|
||||
store.nav.setTitle(navIdx, params.name)
|
||||
uiState.setup().then(() => {
|
||||
if (aborted) return
|
||||
if (aborted) {
|
||||
return
|
||||
}
|
||||
setHasSetup(true)
|
||||
})
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ export const Search = ({navIdx, visible, params}: ScreenParams) => {
|
|||
if (visible) {
|
||||
store.shell.setMinimalShellMode(false)
|
||||
autocompleteView.setup()
|
||||
store.nav.setTitle(navIdx, `Search`)
|
||||
store.nav.setTitle(navIdx, 'Search')
|
||||
}
|
||||
}, [store, visible, name])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue