import { RootState } from './root' ; import * as fromTasks from './tasks' ; import * as fromSnackbar from './snackbar' ; export const getAllTasks = ( state ) => fromTasks . getAllTasks ( state . tasks ) ; export const getSnackbar = ( state ) => fromSnackbar . getSnackbar ( state . snackbar ) ;