fix : handle lichess eval api error

This commit is contained in:
GuillaumeSD
2025-04-20 04:21:01 +02:00
parent 3e9523c49f
commit 6c0da2a1f0
2 changed files with 21 additions and 18 deletions

View File

@@ -26,7 +26,7 @@ export const useEngine = (
return newEngine;
});
});
}, [engineName]);
}, [engineName, workersNb]);
return engine;
};