diff --git a/app/lish/[did]/[publication]/[rkey]/Interactions/Comments/index.tsx b/app/lish/[did]/[publication]/[rkey]/Interactions/Comments/index.tsx index 5f0ffd1b..fcc631ce 100644 --- a/app/lish/[did]/[publication]/[rkey]/Interactions/Comments/index.tsx +++ b/app/lish/[did]/[publication]/[rkey]/Interactions/Comments/index.tsx @@ -29,6 +29,13 @@ export function Comments(props: { document_uri: string; comments: Comment[] }) { return [...localComments, ...props.comments]; }, [props.comments, localComments]); let pathname = usePathname(); + let redirectRoute = useMemo(() => { + let url = new URL(pathname, window.location.origin); + url.searchParams.set("refreshAuth", ""); + url.searchParams.set("interactionDrawer", "comments"); + url.hash = "commentsDrawer"; + return url.toString(); + }, []); return (