Ajayyy00 commited on
Commit
042a09a
·
1 Parent(s): 0cd6bdd

Sync frontend step bugfix

Browse files
Files changed (1) hide show
  1. dashboard/js/api.js +1 -1
dashboard/js/api.js CHANGED
@@ -288,7 +288,7 @@ const API = (() => {
288
 
289
  // Send a step message, push parsed observation into the store, return it.
290
  async step(action) {
291
- const msg = await _send({ type: 'step', ...action });
292
  const parsed = _parseResponse(msg);
293
  _store?.applyObservation(parsed, action);
294
  return parsed;
 
288
 
289
  // Send a step message, push parsed observation into the store, return it.
290
  async step(action) {
291
+ const msg = await _send({ type: 'step', action: action });
292
  const parsed = _parseResponse(msg);
293
  _store?.applyObservation(parsed, action);
294
  return parsed;