about summary refs log tree commit diff
path: root/src/view/com/profile/ProfileFollows.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/com/profile/ProfileFollows.tsx')
-rw-r--r--src/view/com/profile/ProfileFollows.tsx18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/view/com/profile/ProfileFollows.tsx b/src/view/com/profile/ProfileFollows.tsx
index 56a5371ba..d0619ba77 100644
--- a/src/view/com/profile/ProfileFollows.tsx
+++ b/src/view/com/profile/ProfileFollows.tsx
@@ -1,13 +1,6 @@
 import React, {useState, useEffect} from 'react'
 import {observer} from 'mobx-react-lite'
-import {
-  ActivityIndicator,
-  FlatList,
-  Image,
-  StyleSheet,
-  Text,
-  View,
-} from 'react-native'
+import {ActivityIndicator, FlatList, StyleSheet, Text, View} from 'react-native'
 import {
   UserFollowsViewModel,
   FollowItem,
@@ -78,18 +71,21 @@ export const ProfileFollows = observer(function ProfileFollows({
 
 const User = ({item}: {item: FollowItem}) => {
   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>