Log out after react native login is successful, and two navigations appear

log out

logOut(){
        DeviceEventEmitter.emit("Logout")
        let resetAction = NavigationActions.reset({
            index: 0,
            actions: [
                NavigationActions.navigate({routeName: "LoginStack"})
            ]
        });
        this.props.navigation.dispatch(resetAction)
    }

two navigations appear after you click on the login page to forget your password

clipboard.png
what is the reason?


solve it by yourself, plus this paragraph

static navigationOptions = {
        header: null
    }
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-40ad65c-3604.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-40ad65c-3604.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?