diff --git a/next_app/src/pages/codecell.tsx b/next_app/src/pages/codecell.tsx index fa350c4..5c1767c 100644 --- a/next_app/src/pages/codecell.tsx +++ b/next_app/src/pages/codecell.tsx @@ -18,7 +18,7 @@ export default function CodeCell() { const searchParams = useSearchParams(); const [walletAddr, setWalletAddr] = useState(""); const [aosProcess, setAosProcess] = useState(""); - const [autoconnect, setAutoconnect] = useLocalStorage("autoconnect", undefined, { initializeWithValue: false }); + const [autoconnect, setAutoconnect] = useLocalStorage("autoconnect", undefined, { initializeWithValue: true }); const [spawning, setSpawning] = useState(false); const [running, setRunning] = useState(false); const [code, setCode] = useState('print("Hello AO!")'); @@ -218,7 +218,7 @@ export default function CodeCell() {
- {showConnectBtn && } + {showConnectBtn && } } @@ -288,7 +288,7 @@ export default function CodeCell() { } {autoconnect ? - <>{!aosProcess && } :
+ <>{!aosProcess && } :
}