From f333a90fab79d582bbb7f9114f0b005fdb1cae8b Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Fri, 4 Nov 2022 17:39:54 -0500
Subject: Update to the latest APIs

---
 src/view/com/post-thread/PostRepostedBy.tsx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'src/view/com/post-thread/PostRepostedBy.tsx')

diff --git a/src/view/com/post-thread/PostRepostedBy.tsx b/src/view/com/post-thread/PostRepostedBy.tsx
index df462c1a1..adb20a7f7 100644
--- a/src/view/com/post-thread/PostRepostedBy.tsx
+++ b/src/view/com/post-thread/PostRepostedBy.tsx
@@ -80,18 +80,21 @@ export const PostRepostedBy = observer(function PostRepostedBy({
 
 const RepostedByItem = ({item}: {item: RepostedByViewItemModel}) => {
   return (
-    <Link style={styles.outer} href={`/profile/${item.name}`} title={item.name}>
+    <Link
+      style={styles.outer}
+      href={`/profile/${item.handle}`}
+      title={item.handle}>
       <View style={styles.layout}>
         <View style={styles.layoutAvi}>
           <UserAvatar
             size={40}
             displayName={item.displayName}
-            name={item.name}
+            handle={item.handle}
           />
         </View>
         <View style={styles.layoutContent}>
           <Text style={[s.f15, s.bold]}>{item.displayName}</Text>
-          <Text style={[s.f14, s.gray5]}>@{item.name}</Text>
+          <Text style={[s.f14, s.gray5]}>@{item.handle}</Text>
         </View>
       </View>
     </Link>
-- 
cgit 1.4.1

