function logout() {
  return Promise.resolve({
    success: true,
    message: 'You are now logged out',
  });
}
// You should remove JWT from localStorage
You should remove JWT from localStorage
You should remove JWT from localStorage
function logout() {
  return Promise.resolve({
    success: true,
    message: 'You are now logged out',
  });
}
function logout ( ) { return Promise . resolve ( { success : true , message : 'You are now logged out' , } ) ; }
You should remove JWT from localStorage
You should remove JWT from localStorage