diff options
author | polwex <polwex@sortug.com> | 2025-09-17 21:45:18 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-09-17 21:45:18 +0700 |
commit | 985fa2f7c99832cdf3c3351d2273c8fd05402b78 (patch) | |
tree | bc727486a89ad05e588754f8de8b1096400a3d31 /front/src/components/composer/Composer.tsx | |
parent | f0df4c7297a05bd592d8717b8997284c80fd0500 (diff) |
basic comms working
Diffstat (limited to 'front/src/components/composer/Composer.tsx')
-rw-r--r-- | front/src/components/composer/Composer.tsx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/front/src/components/composer/Composer.tsx b/front/src/components/composer/Composer.tsx index 795188e..daa5af6 100644 --- a/front/src/components/composer/Composer.tsx +++ b/front/src/components/composer/Composer.tsx @@ -15,7 +15,10 @@ function Composer({ replying?: Poast; }) { const [loc, navigate] = useLocation(); - const { api, composerData } = useLocalState(); + const { api, composerData } = useLocalState((s) => ({ + api: s.api, + composerData: s.composerData, + })); const our = api!.airlock.our!; const [input, setInput] = useState(replying ? `${replying}: ` : ""); async function poast(e: FormEvent<HTMLFormElement>) { @@ -44,8 +47,8 @@ function Composer({ const placeHolder = isAnon ? "> be me" : "What's going on in Urbit"; return ( <form id="composer" onSubmit={poast}> - <div className="sigil"> - <Sigil patp={our} size={48} /> + <div className="sigil avatar"> + <Sigil patp={our} size={46} /> </div> {composerData && composerData.type === "reply" && ( |