Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dearninini authored Mar 13, 2020
1 parent a2fff11 commit a278085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion favorite.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
const index = data.findIndex(item => item.id === Number(id))
if (index === -1) return

// removie movie and update localStorage
// remove movie and update localStorage
data.splice(index, 1)
localStorage.setItem('favoriteMovies', JSON.stringify(data))

Expand Down

0 comments on commit a278085

Please sign in to comment.