From 985fa2f7c99832cdf3c3351d2273c8fd05402b78 Mon Sep 17 00:00:00 2001
From: polwex <polwex@sortug.com>
Date: Wed, 17 Sep 2025 21:45:18 +0700
Subject: basic comms working

---
 front/src/components/composer/Composer.tsx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'front/src/components/composer/Composer.tsx')

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" && (
-- 
cgit v1.2.3

