Spaces:
Runtime error
Runtime error
Commit
·
a5fb2e6
1
Parent(s):
0112e46
fix
Browse files- src/app/main.tsx +4 -3
src/app/main.tsx
CHANGED
@@ -289,9 +289,10 @@ export default function Main() {
|
|
289 |
</div>
|
290 |
<div className="flex flex-row items-center space-x-3 font-mono">
|
291 |
<Switch
|
292 |
-
|
293 |
-
|
294 |
-
|
|
|
295 |
/>
|
296 |
<Label>Debug</Label>
|
297 |
</div>
|
|
|
289 |
</div>
|
290 |
<div className="flex flex-row items-center space-x-3 font-mono">
|
291 |
<Switch
|
292 |
+
checked={debug}
|
293 |
+
onCheckedChange={handleToggleDebug}
|
294 |
+
// we won't disable it, so we can occupy our using while loading
|
295 |
+
// disabled={isLoading}
|
296 |
/>
|
297 |
<Label>Debug</Label>
|
298 |
</div>
|