import Redux from 'redux' ; import { TutorialState } from './StateTypes' ; const tutorialState = { playFromCursor : true , } ; export function tutorial ( state = tutorialState , action ) { switch ( action . type ) { case 'REBOOT_APP' : return { ... state , playFromCursor : false } ; default : return state ; } }