Spaces:
Sleeping
Sleeping
fix
Browse files
src/components/ui-controls.tsx
CHANGED
|
@@ -61,9 +61,6 @@ export const UIControls = () => {
|
|
| 61 |
},
|
| 62 |
body: JSON.stringify({ state: rotationController.getState() }),
|
| 63 |
});
|
| 64 |
-
if (!isSolving) {
|
| 65 |
-
return;
|
| 66 |
-
}
|
| 67 |
if (response.status === 422) {
|
| 68 |
alert('Unable to solve the cube.');
|
| 69 |
return;
|
|
|
|
| 61 |
},
|
| 62 |
body: JSON.stringify({ state: rotationController.getState() }),
|
| 63 |
});
|
|
|
|
|
|
|
|
|
|
| 64 |
if (response.status === 422) {
|
| 65 |
alert('Unable to solve the cube.');
|
| 66 |
return;
|