Eslint updates (#1281)
* eslint: Update eslintrc * eslint: Strings must use singlequote quotes * eslint: expected { after if-condition * eslint: update warnings * a little cleanup * remove conflicted file --------- Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com>
This commit is contained in:
parent
a0dca81a74
commit
b15a435069
5 changed files with 9 additions and 5 deletions
|
@ -118,10 +118,10 @@ function Modal({modal}: {modal: ModalIface}) {
|
|||
}
|
||||
|
||||
return (
|
||||
// eslint-disable-next-line
|
||||
// eslint-disable-next-line react-native-a11y/has-valid-accessibility-descriptors
|
||||
<TouchableWithoutFeedback onPress={onPressMask}>
|
||||
<View style={styles.mask}>
|
||||
{/* eslint-disable-next-line */}
|
||||
{/* eslint-disable-next-line react-native-a11y/has-valid-accessibility-descriptors */}
|
||||
<TouchableWithoutFeedback onPress={onInnerPress}>
|
||||
<View
|
||||
style={[
|
||||
|
|
|
@ -21,7 +21,7 @@ export const Component = observer(({did}: {did: string}) => {
|
|||
const {screen} = useAnalytics()
|
||||
|
||||
// track the navigator state to detect if a page-load occurred
|
||||
const navState = useNavigationState(s => s)
|
||||
const navState = useNavigationState(state => state)
|
||||
const [initNavState] = useState(navState)
|
||||
const isLoading = initNavState !== navState
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue