summaryrefslogtreecommitdiff
path: root/gui/src/components/post/Header.tsx
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-11-18 16:59:24 +0700
committerpolwex <polwex@sortug.com>2025-11-18 16:59:24 +0700
commit420a543f8af3075502b0a7530a0fa06af264eb8b (patch)
tree7446a8c59bd4b66ca2bb5ed04bce40d382e31c36 /gui/src/components/post/Header.tsx
parent76f99af3c98a689441315b5ed087c4b83c083191 (diff)
refactoring gui too, improvements to Nostr user logic
Diffstat (limited to 'gui/src/components/post/Header.tsx')
-rw-r--r--gui/src/components/post/Header.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/src/components/post/Header.tsx b/gui/src/components/post/Header.tsx
index b0822b4..5898eba 100644
--- a/gui/src/components/post/Header.tsx
+++ b/gui/src/components/post/Header.tsx
@@ -8,12 +8,12 @@ function Header(props: PostProps) {
// console.log(props.poast.author.length, "length");
function go(e: React.MouseEvent) {
e.stopPropagation();
- navigate(`/feed/${poast.host}`);
+ navigate(`/u/${poast.host}`);
}
function openThread(e: React.MouseEvent) {
e.stopPropagation();
const sel = window.getSelection()?.toString();
- if (!sel) navigate(`/feed/${poast.host}/${poast.id}`);
+ if (!sel) navigate(`/t/${poast.host}/${poast.id}`);
}
const { poast } = props;
const name = profile ? (