VP
Size: a a a
VP
УХ
IZ
IZ
УХ
УХ
MN
E
<Button active={filter === 'Todo'} onPress={() => this.setState({ filter: 'Todo' })}>
Can't find variable: filterB
E
const filteredItems = () => {
if (this.state.filter === 'Todo') {
return _values(this.state.todos).filter(i => {
return !i.isCompleted
})
}
if (this.state.filter === 'Complete') {
return _values(this.state.todos).filter(i => {
return i.isCompleted
})
}
return this.state.todos
}D
E
} from 'react-native'
| import { isIphoneX } from 'react-native-iphone-x-helper'
> import type { KeyboardAwareInterface } from './KeyboardAwareInterface'
|
| const _KAM_DEFAULT_TAB_BAR_HEIGHT: number = isIphoneX() ? 83 : 49
При запуске в браузереE
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Как можно понять в какой части кода ошибка?D
D
E
import AsyncStorage.. или import {AsyncStorage}..D
NB