We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e6ae59 commit ef5b6c6Copy full SHA for ef5b6c6
1 file changed
tensormap-frontend/src/containers/Training/Training.jsx
@@ -183,11 +183,7 @@ export default function Training() {
183
fetchModelsRef.current();
184
}
185
} else {
186
- setResultValues((prev) => {
187
- let newValues = [...prev];
188
- newValues[parseInt(resp.test)] = resp.message;
189
- return newValues;
190
- });
+ setResultValues((prev) => [...prev, resp.message]);
191
192
};
193
0 commit comments