Skip to content

Commit

Permalink
close flashcard
Browse files Browse the repository at this point in the history
  • Loading branch information
johan-t committed Jan 8, 2024
1 parent 27cda06 commit e2c8d0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/topic-stuff/topic/topic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ function TopicPage() {
setFlashcards(allFlashcards); //refresh the flashcards state

setAddFlashcardModal(false); //closes the add flashcard modal once the flashcard has been added
setOpenFlashcard(undefined); //closes the flashcard view once the flashcard has been added
};

//Edit Flashcard
Expand Down

0 comments on commit e2c8d0e

Please sign in to comment.