update composer with image upload

This commit is contained in:
Ren Amamiya
2023-07-22 15:32:34 +07:00
parent 17d2a8cb56
commit 20a8ce9cba
14 changed files with 261 additions and 36 deletions

View File

@@ -8,8 +8,8 @@ export function ComposerUser({ pubkey }: { pubkey: string }) {
const { user } = useProfile(pubkey);
return (
<div className="flex items-center gap-2">
<div className="h-8 w-8 shrink-0 overflow-hidden rounded bg-zinc-900">
<div className="flex items-center gap-3">
<div className="h-8 w-8 shrink-0 overflow-hidden rounded-md bg-zinc-900">
<Image
src={user?.picture || user?.image}
fallback={DEFAULT_AVATAR}