A flashcard app built with React, TypeScript and styled-components with the main flashcard data stored in Firebase. This is to help ES students revise all of their studied vocabs. They're able to revise cards needing revision and remove learnt cards from the deck. Deck layout and content can be edited via Firebase.
Cards from the card array that have been revised which then goes into the 練習 pile and the current page having the new modified deck
is not working as the state of the deck is reset to the original array. Will need to find a way to update its state.
Ran into a bug where if one set's deck of cards are modified (i.e. removed by pressing 覚えた button) the same positioned index of cards in other sets would be equally removed.
(NEW) Actually found out that now all of the sets will share the same modified deck after pressing 覚えた button.
Possible solution: Use card id instead of the index, but will need to check on how the data is being passed down.