chingu-voyages / v43-tier2-team-21

Skill Tracker | Voyage-43 | https://chingu.io/ | Twitter: https://twitter.com/ChinguCollabs
https://skill-tracker-b900e.firebaseapp.com/landingpage
1 stars 0 forks source link

Delete item #91

Open MattRueter opened 1 year ago

MattRueter commented 1 year ago

Create the UI and logic to delete an item

MattRueter commented 1 year ago

Not as simple to use the unique id of the given skill as that is one of the properties of an indexed skill. e.g.

userID: {
  name:name,
  skills:{
    0 : {
        nanoid:uid,
        skillname: skillname,
        etc.....
    } ,
    1 : {}
  }
}

Deleting the index can be problematic. Ideally ( I think ) the skill index (0 in the above example) should be where the nanoid is generated when a user creates a new skill.