From 482b246c7f32e6b05a1d5c1a456755835d6bf0f8 Mon Sep 17 00:00:00 2001 From: marvel Date: Thu, 26 Oct 2023 22:58:16 +0100 Subject: [PATCH] add copy route hint to about page --- frontend/app/src/people/interfaces.ts | 1 + frontend/app/src/people/widgetViews/AboutView.tsx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/app/src/people/interfaces.ts b/frontend/app/src/people/interfaces.ts index b4ef93d3b..4881167ac 100644 --- a/frontend/app/src/people/interfaces.ts +++ b/frontend/app/src/people/interfaces.ts @@ -380,6 +380,7 @@ export interface AboutViewProps { owner_pubkey?: string; description?: string; canEdit?: boolean; + owner_route_hint?: string; } export interface BlogViewProps { diff --git a/frontend/app/src/people/widgetViews/AboutView.tsx b/frontend/app/src/people/widgetViews/AboutView.tsx index f59e5fa5b..1280b1a61 100644 --- a/frontend/app/src/people/widgetViews/AboutView.tsx +++ b/frontend/app/src/people/widgetViews/AboutView.tsx @@ -218,7 +218,7 @@ const Img = styled.div` `; export const AboutView = observer((props: AboutViewProps) => { const history = useHistory(); - const { price_to_meet, extras, twitter_confirmed, owner_pubkey } = props; + const { price_to_meet, extras, twitter_confirmed, owner_pubkey, owner_route_hint, } = props; const { twitter, github, coding_languages, tribes, repos, lightning, amboss, email } = extras || {}; @@ -264,7 +264,7 @@ export const AboutView = observer((props: AboutViewProps) => { - {owner_pubkey && } + {owner_pubkey && } {tag && ( <>