client/contexts/AuthContext.js
//it removes the subscription based on the uid
it removes the subscription based on the uid
it removes the subscription based on the uid
async function removeSubscription(uid) {
    var userSubsReff = ref(
      database,
      "users/" + currentUser.uid + "/subscriptions/" + uid
    );
    remove(userSubsReff);
    read(currentUser);
  }
async function removeSubscription ( uid ) { var userSubsReff = ref ( database , "users/" + currentUser . uid + "/subscriptions/" + uid ) ; remove ( userSubsReff ) ; read ( currentUser ) ; }
it removes the subscription based on the uid
it removes the subscription based on the uid