feat: alle functionaliteiten van de user homepage zijn geïmplementeerd

This commit is contained in:
Joyelle Ndagijimana 2025-03-21 16:32:12 +01:00
parent 54a2cf0800
commit 0d635fc6a1
6 changed files with 26 additions and 15 deletions

View file

@ -4,7 +4,7 @@
import { useI18n } from "vue-i18n";
import {AGE_TO_THEMES, THEMESITEMS} from "@/utils/constants.ts";
// Receive the selectedTheme from the parent component
// Receive the selectedTheme and selectedAge from the parent component
const props = defineProps({
selectedTheme: {
type: String,
@ -31,7 +31,6 @@
// Update the cards value with the fetched themes
allCards.value = await response.json();
cards.value = allCards.value;
//console.log(allCards.value);
} catch (error) {
console.error("Error fetching themes:", error);
}