diff --git a/package.json b/package.json index 8aad1c4d..b46e9277 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "start": "next start", "export": "next export", "lint": "eslint . --ext ts,tsx --fix", - "test": "jest" + "test": "jest --passWithNoTests" }, "dependencies": { "@babel/preset-react": "^7.16.7", diff --git a/src/pages/analysis/[...id].tsx b/src/pages/analysis/[...id].tsx index 36c7e9ac..6dfd65c8 100644 --- a/src/pages/analysis/[...id].tsx +++ b/src/pages/analysis/[...id].tsx @@ -2181,6 +2181,12 @@ const Analysis: React.FC = ({ ? controller.colorSanMapping : {} } + positionKey={ + analysisEnabled && + !controller.learnFromMistakes.state.isActive + ? controller.currentNode?.fen + : undefined + } /> {(!analysisEnabled || controller.learnFromMistakes.state.isActive) && (