minor fixes

This commit is contained in:
Ren Amamiya
2023-06-02 18:32:09 +07:00
parent 48e453fe5c
commit e2491e47c0
10 changed files with 33 additions and 34 deletions

View File

@@ -17,7 +17,7 @@ export function ActiveAccount({ data }: { data: any }) {
const notChatPage = pathnames.includes("/chat") ? false : true;
const notChannelPage = pathnames.includes("/channel") ? false : true;
const notSpacePage = pathnames.includes("/space") ? false : true;
// const notSpacePage = pathnames.includes("/space") ? false : true;
const lastLogin = useActiveAccount((state: any) => state.lastLogin);
const notifyChat = useChats((state: any) => state.add);

View File

@@ -116,7 +116,7 @@ export function Post({ pubkey, privkey }: { pubkey: string; privkey: string }) {
<div className="flex w-8 shrink-0 items-center justify-center">
<div className="h-full w-[2px] bg-zinc-800" />
</div>
<div className="markdown">
<div className="w-full markdown">
<Editable
autoFocus
placeholder="What's on your mind?"