diff --git a/packages/app/src/Element/Timeline.tsx b/packages/app/src/Element/Timeline.tsx index 3545a958..8fb9644f 100644 --- a/packages/app/src/Element/Timeline.tsx +++ b/packages/app/src/Element/Timeline.tsx @@ -114,7 +114,7 @@ const Timeline = (props: TimelineProps) => { } return ( -
+ <> {latestFeed.length > 0 && ( <>
onShowLatest()} ref={ref}> @@ -149,7 +149,7 @@ const Timeline = (props: TimelineProps) => { )} -
+ ); }; export default Timeline; diff --git a/packages/app/src/Pages/Notifications.tsx b/packages/app/src/Pages/Notifications.tsx index 30cef0c6..9cf9907c 100644 --- a/packages/app/src/Pages/Notifications.tsx +++ b/packages/app/src/Pages/Notifications.tsx @@ -15,10 +15,8 @@ export default function NotificationsPage() { }, []); return ( - <> -
- -
+
+ {login.publicKey && ( )} - +
); } diff --git a/packages/app/src/Pages/ProfilePage.tsx b/packages/app/src/Pages/ProfilePage.tsx index 41f4a56c..efebae61 100644 --- a/packages/app/src/Pages/ProfilePage.tsx +++ b/packages/app/src/Pages/ProfilePage.tsx @@ -230,20 +230,18 @@ export default function ProfilePage() { case NOTES: return ( <> -
- {pinned - .filter(a => a.kind === EventKind.TextNote) - .map(n => { - return ( - - ); - })} -
+ {pinned + .filter(a => a.kind === EventKind.TextNote) + .map(n => { + return ( + + ); + })} {pubKey && navigate(unwrap(t.data))} />}
- +
+ +
); }