Merge pull request #442 from JustFlavio/refactor/course-creation-tags

feat: replace textareas with FormTagInput for tags and learnings
This commit is contained in:
Badr B. 2025-02-26 18:57:02 +01:00 committed by GitHub
commit 6878fec2e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 1482 additions and 49 deletions

View file

@ -30,7 +30,7 @@ const CourseClient = (props: any) => {
function getLearningTags() {
// create array of learnings from a string object (comma separated)
let learnings = course?.learnings ? course?.learnings.split(',') : []
let learnings = course?.learnings ? course?.learnings.split('|') : []
setLearnings(learnings)
}