export default { setInfo: (state, info) => { if(info.user) { state.user = info.user; } } };