import * as M from '@meetalva/message' ; import { MessageHandlerContext , MessageHandler } from '../create-handlers' ; export function changeUserStore ( { store } ) { return m => { const project = store . getProject ( ) ; if ( ! project || project . getId ( ) !== m . payload . projectId ) { return ; } project . getUserStore ( ) . sync ( m , { withEnhancer : false } ) ; } ; }