diff --git a/src/components/Layouts.jsx/MainLayout.jsx b/src/components/Layouts.jsx/MainLayout.jsx index 75b2edf8..b766c2fa 100644 --- a/src/components/Layouts.jsx/MainLayout.jsx +++ b/src/components/Layouts.jsx/MainLayout.jsx @@ -532,7 +532,13 @@ const MainLayout = (props) => { {enableNext ? ( handleNext()} + onClick={() => { + if (props.setIsNextButtonCalled) { + props.setIsNextButtonCalled(true); + } else { + handleNext(); + } + }} > diff --git a/src/components/Mechanism/WordsOrImage.jsx b/src/components/Mechanism/WordsOrImage.jsx index 9469bd58..6be06b59 100644 --- a/src/components/Mechanism/WordsOrImage.jsx +++ b/src/components/Mechanism/WordsOrImage.jsx @@ -94,6 +94,7 @@ const WordsOrImage = ({ livesData, gameOverData, loading, + setIsNextButtonCalled }} >