diff --git a/components/Accounts.tsx b/components/Accounts.tsx index b20967e..0954ffe 100644 --- a/components/Accounts.tsx +++ b/components/Accounts.tsx @@ -350,7 +350,7 @@ const Accounts: FC = props => { borderBottom: props.card ? "1px solid $mauve6" : undefined, "@hover": { "&:hover": { - background: "$mauve3", + background: "$backgroundAlt", }, }, }} diff --git a/components/DebugStream.tsx b/components/DebugStream.tsx new file mode 100644 index 0000000..f1173f3 --- /dev/null +++ b/components/DebugStream.tsx @@ -0,0 +1,86 @@ +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: +