1
0

Removed a debug statement from the Calculate.jsx

This commit is contained in:
Mathias Wagner 2023-11-23 07:53:05 +01:00
parent d0a05ceaf7
commit 4e542068d2
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -43,8 +43,6 @@ export const Calculate = ({setState, currentRound}) => {
let currentRound = {...current, profit, name: getGroupById(current.id).name, sold, let currentRound = {...current, profit, name: getGroupById(current.id).name, sold,
newCapital: getGroupById(current.id).capital + profit}; newCapital: getGroupById(current.id).capital + profit};
console.log(currentRound);
setAnimatedGroups(old => [...old, currentRound]); setAnimatedGroups(old => [...old, currentRound]);
updateCapital(current.id, currentRound.newCapital); updateCapital(current.id, currentRound.newCapital);