logoutUser(ctx) {
    return new Promise(resolve => {
      localStorage.removeItem("token");
      localStorage.removeItem("adminID");
      ctx.commit("SET_LOGGEDIN", false);
      resolve(true);
    });
  }
/**
    // User LogOut
    # IF User Make Logout
    # Remove Token From Local Storage
    # Change User State Form True To Flase
  **/
User LogOut
IF User Make Logout
Remove Token From Local Storage
Change User State Form True To Flase
User LogOut IF User Make Logout Remove Token From Local Storage Change User State Form True To Flase
logoutUser(ctx) {
    return new Promise(resolve => {
      localStorage.removeItem("token");
      localStorage.removeItem("adminID");
      ctx.commit("SET_LOGGEDIN", false);
      resolve(true);
    });
  }
logoutUser ( ctx ) { return new Promise ( resolve => { localStorage . removeItem ( "token" ) ; localStorage . removeItem ( "adminID" ) ; ctx . commit ( "SET_LOGGEDIN" , false ) ; resolve ( true ) ; } ) ; }
User LogOut
 IF User Make Logout
 Remove Token From Local Storage
 Change User State Form True To Flase
User LogOut IF User Make Logout Remove Token From Local Storage Change User State Form True To Flase