diff --git a/client/src/components/circle/LearningContent.vue b/client/src/components/circle/LearningContent.vue new file mode 100644 index 00000000..bdb931d6 --- /dev/null +++ b/client/src/components/circle/LearningContent.vue @@ -0,0 +1,54 @@ + + + + + diff --git a/client/src/components/circle/LearningSequence.vue b/client/src/components/circle/LearningSequence.vue index 915af655..1a9f51c4 100644 --- a/client/src/components/circle/LearningSequence.vue +++ b/client/src/components/circle/LearningSequence.vue @@ -7,13 +7,16 @@ const props = defineProps<{ learningSequence: LearningSequence }>() +const emit = defineEmits<{ + (e: 'clickContent', value: LearningContent): void +}>() + const circleStore = useCircleStore(); function toggleCompleted(learningContent: LearningContent) { circleStore.toggleCompleted(learningContent, !learningContent.completed); } -