diff options
| author | polwex <polwex@sortug.com> | 2025-11-18 09:43:16 +0700 |
|---|---|---|
| committer | polwex <polwex@sortug.com> | 2025-11-18 09:43:16 +0700 |
| commit | a465c73178dc621578d10312f263355f0f2d5309 (patch) | |
| tree | 08a0b655835d4c08d45e8e3e8f52601f7911044b /gui/src/components/post/Post.tsx | |
| parent | 7706acaafa89691dba33c216e6287a8405c4c302 (diff) | |
fixes to profile handling and rendering
Diffstat (limited to 'gui/src/components/post/Post.tsx')
| -rw-r--r-- | gui/src/components/post/Post.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/src/components/post/Post.tsx b/gui/src/components/post/Post.tsx index 2d9a09a..7413e70 100644 --- a/gui/src/components/post/Post.tsx +++ b/gui/src/components/post/Post.tsx @@ -6,7 +6,7 @@ import Footer from "./Footer"; import { useLocation } from "wouter"; import useLocalState from "@/state/state"; import RP from "./RP"; -import ShipModal from "../modals/ShipModal"; +import UserModal from "../modals/UserModal"; import type { Ship } from "@/types/urbit"; import Sigil from "../Sigil"; import type { UserProfile } from "@/types/nostrill"; @@ -57,7 +57,7 @@ function TrillPost(props: PostProps) { function openModal(e: React.MouseEvent) { e.stopPropagation(); - setModal(<ShipModal ship={poast.author} />); + setModal(<UserModal userString={poast.author} />); } const avatar = profile ? ( <div className="avatar sigil cp" role="link" onMouseUp={openModal}> |
