nhan0504 / CS326

0 stars 1 forks source link

Fix favorites bug #45

Closed sophia-hubscher closed 2 weeks ago

sophia-hubscher commented 2 weeks ago

Fixed bug where favoriting items without refreshing the page caused an error

NOTE: I updated the wardrobeDB database, so before this will work, you need to run the following code:

    const request = indexedDB.deleteDatabase('wardrobeDB');

    request.onsuccess = () => {
      console.log('Database deleted successfully');
    };