import { useEffect, useState } from "react"; import { useSnapshot } from "valtio"; import { Select } from "."; import state from "../state"; import LogBox from "./LogBox"; import Text from "./Text"; const DebugStream = () => { const snap = useSnapshot(state); const accountOptions = snap.accounts.map(acc => ({ label: acc.name, value: acc.address, })); const [selectedAccount, setSelectedAccount] = useState(null); const renderNav = () => ( <> Account: