From 275a15157f460de5eb16bb91b92394ad145d9ca9 Mon Sep 17 00:00:00 2001
From: Alex Bueno <44420072+aweell@users.noreply.github.com>
Date: Tue, 26 Nov 2024 16:51:07 +0100
Subject: [PATCH] Fixes
---
.../illustration-wishes-letter.jsx | 127 ------------------
.../illustration-wool-clothes.jsx | 51 -------
.../assets/illustrations/illustrations.jsx | 4 -
.../components/quizzes/guess-component.jsx | 2 +-
.../utils/content-config.jsx | 2 +-
5 files changed, 2 insertions(+), 184 deletions(-)
delete mode 100644 src/pages/advent-calendar-2024/assets/illustrations/illustration-wishes-letter.jsx
delete mode 100644 src/pages/advent-calendar-2024/assets/illustrations/illustration-wool-clothes.jsx
diff --git a/src/pages/advent-calendar-2024/assets/illustrations/illustration-wishes-letter.jsx b/src/pages/advent-calendar-2024/assets/illustrations/illustration-wishes-letter.jsx
deleted file mode 100644
index df2aa0367f..0000000000
--- a/src/pages/advent-calendar-2024/assets/illustrations/illustration-wishes-letter.jsx
+++ /dev/null
@@ -1,127 +0,0 @@
-const IllustrationWishesLetter = () => (
-
-);
-export default IllustrationWishesLetter;
diff --git a/src/pages/advent-calendar-2024/assets/illustrations/illustration-wool-clothes.jsx b/src/pages/advent-calendar-2024/assets/illustrations/illustration-wool-clothes.jsx
deleted file mode 100644
index 2d26957710..0000000000
--- a/src/pages/advent-calendar-2024/assets/illustrations/illustration-wool-clothes.jsx
+++ /dev/null
@@ -1,51 +0,0 @@
-const IllustrationWishesCard = () => (
-
-);
-export default IllustrationWishesCard;
diff --git a/src/pages/advent-calendar-2024/assets/illustrations/illustrations.jsx b/src/pages/advent-calendar-2024/assets/illustrations/illustrations.jsx
index 13057196b8..c1e566a196 100644
--- a/src/pages/advent-calendar-2024/assets/illustrations/illustrations.jsx
+++ b/src/pages/advent-calendar-2024/assets/illustrations/illustrations.jsx
@@ -1,5 +1,3 @@
-import IllustrationWishesLetter from "./illustration-wishes-letter";
-import IllustrationWoolClothes from "./illustration-wool-clothes";
import Illustration02 from "./illustration-02";
import Illustration03 from "./illustration-03";
import Illustration04 from "./illustration-04";
@@ -20,8 +18,6 @@ import Illustration24 from "./illustration-24";
import Illustration25 from "./illustration-25";
export {
- IllustrationWishesLetter,
- IllustrationWoolClothes,
Illustration02,
Illustration03,
Illustration04,
diff --git a/src/pages/advent-calendar-2024/components/quizzes/guess-component.jsx b/src/pages/advent-calendar-2024/components/quizzes/guess-component.jsx
index abd5efaa51..4048b5e4f8 100644
--- a/src/pages/advent-calendar-2024/components/quizzes/guess-component.jsx
+++ b/src/pages/advent-calendar-2024/components/quizzes/guess-component.jsx
@@ -106,7 +106,7 @@ const GuessTheComponent = ({ questions, onFinish, set }) => {
};
const handleGameEnd = () => {
- if (onFinish) onFinish(score); // Notify the parent component
+ if (onFinish) onFinish(); // Notify the parent component
};
const GuessLabel = ({ correct }) => (
diff --git a/src/pages/advent-calendar-2024/utils/content-config.jsx b/src/pages/advent-calendar-2024/utils/content-config.jsx
index 05a9e12b0e..43f46dd8c2 100644
--- a/src/pages/advent-calendar-2024/utils/content-config.jsx
+++ b/src/pages/advent-calendar-2024/utils/content-config.jsx
@@ -178,7 +178,7 @@ const contentByDate = {
illustration: ,
illustrationDimmed: ,
content: ({ closeModal }) => (
-
+
),
title: "What MÃstica component is?",
description: