function removeUserElement(uid) {
    document.getElementById("user" + uid).remove();

    userCounter--;
    if (userCounter == 0){
      deployUserListEmptyNotification();
    }
  }
//This function removes a user element from the page if a user were to delete their account.
This function removes a user element from the page if a user were to delete their account.
This function removes a user element from the page if a user were to delete their account .
function removeUserElement(uid) {
    document.getElementById("user" + uid).remove();
    userCounter--;
    if (userCounter == 0){
      deployUserListEmptyNotification();
    }
  }
function removeUserElement ( uid ) { document . getElementById ( "user" + uid ) . remove ( ) ; userCounter -- ; if ( userCounter == 0 ) { deployUserListEmptyNotification ( ) ; } }
This function removes a user element from the page if a user were to delete their account.
This function removes a user element from the page if a user were to delete their account .