diff --git a/src/api/game/game.getOneGameById.ts b/src/api/game/game.getOneGameById.ts
index 1b87bc2fb..fe764b867 100644
--- a/src/api/game/game.getOneGameById.ts
+++ b/src/api/game/game.getOneGameById.ts
@@ -2,7 +2,6 @@ import { useQuery } from 'react-query';
import { serializeToQueryUrl } from 'src/utils';
import { axiosRequest } from 'src/utils/axiosRequest';
-// import { GameType } from 'types/game.type';
type Input = {
selectedValue: string;
@@ -37,7 +36,7 @@ type GetOneGameByIdProps = {
subType: number;
id: number;
};
-// TODO : remove specific mimic management after mimic is standard
+
export async function getOneGameById({ subType, id }: GetOneGameByIdProps) {
const path = `/standardGame/${id}${serializeToQueryUrl({
subType,
diff --git a/src/components/game/DisplayGameById.tsx b/src/components/game/DisplayGameById.tsx
index db3451cc4..263cddaa0 100644
--- a/src/components/game/DisplayGameById.tsx
+++ b/src/components/game/DisplayGameById.tsx
@@ -187,7 +187,6 @@ const DisplayGameById = ({ subType }: SubTypeProps) => {
};
const getNextGame = useCallback(async () => {
- // [1] Reset game.
setFound(false);
setGameResponses([]);
setTryCount(0);
@@ -257,7 +256,6 @@ const DisplayGameById = ({ subType }: SubTypeProps) => {
inputs.map((input) => {
if (input.response || input.response === false) {
if (getOneGameById.subType === GameType.MONEY) {
- // Utilisation des templates de chaînes de caractères
const significationWithEuro = `${input.selectedValue} ${euro}`;
responses.push({ isSuccess: input.response, signification: significationWithEuro, value: input.response ? 0 : fakeSignificationIndex });
} else {
@@ -376,21 +374,6 @@ const DisplayGameById = ({ subType }: SubTypeProps) => {
)}
-
- {/*
- {Object.keys(radioListComponentMapper).map((value: string, index: number) => {
- return (
-
- );
- })}
- */}
-
{
signification={signification}
disabled={isDisabled}
isCorrect={isCorrect || (tryCount > 1 && isSuccess)}
- // mimicOrigine={mimicOrigine}
/>
);
@@ -520,7 +502,6 @@ const DisplayGameById = ({ subType }: SubTypeProps) => {