text: import { all } from 'redux-saga/effects';
  import loginSaga from './login.saga';
  import registrationSaga from './registration.saga';
  import userSaga from './user.saga';
  import characterSaga from './character.saga';
  import detailsSaga from './details.saga';
  import moveSaga from './move.saga';
  import favoriteSaga from './favorite.saga';
  import favoritePageSaga from './favoritePage.saga';
  import selectedCharacterSaga from './selectedcharacter.saga';
  
  
  // rootSaga is the primary saga.
  // It bundles up all of the other sagas so our project can use them.
  // This is imported in index.js as rootSaga
  
  // some sagas trigger other sagas, as an example
  // the registration triggers a login
  // and login triggers setting the user
  export default function* rootSaga() {
    yield all([
      loginSaga(), // login saga is now registered
      registrationSaga(),
      userSaga(),
      characterSaga(),
      detailsSaga(),
      moveSaga(),
      favoriteSaga(),
      favoritePageSaga(),
      selectedCharacterSaga(),
    ]);
  }
  