import { AsyncStorage } from 'react-native';
import { NavigationActions } from 'react-navigation';

export default {
  namespace: 'login',
  effects: {
    *login(ignored, { put, call }) {
      yield put(NavigationActions.navigate({
        routeName: 'Main',
      }));
    },
  },
};
