Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aweell committed Nov 26, 2024
1 parent 74e10d2 commit 275a151
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 184 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -20,8 +18,6 @@ import Illustration24 from "./illustration-24";
import Illustration25 from "./illustration-25";

export {
IllustrationWishesLetter,
IllustrationWoolClothes,
Illustration02,
Illustration03,
Illustration04,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/advent-calendar-2024/utils/content-config.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const contentByDate = {
illustration: <Illustration10 />,
illustrationDimmed: <Illustration10 disabled />,
content: ({ closeModal }) => (
<GuessTheComponent component={meterGuess} onFinish={closeModal} />
<GuessTheComponent questions={guessComponentSet1} onFinish={closeModal} />
),
title: "What Mística component is?",
description:
Expand Down

0 comments on commit 275a151

Please sign in to comment.