fix: add key prop to SubscriptionList (#3188)
This commit is contained in:
@@ -72,7 +72,6 @@ export const EditProfileModal = () => {
|
||||
|
||||
return (
|
||||
<SafeModalScrollView className="bg-system-grouped-background">
|
||||
<ModalHeader headerTitle="111Edit Profile" />
|
||||
<AvatarSection whoami={whoami} />
|
||||
<ProfileForm layout="modal" whoami={whoami} />
|
||||
</SafeModalScrollView>
|
||||
|
||||
@@ -14,7 +14,7 @@ export default function Subscriptions() {
|
||||
<EntryListContext.Provider value={useMemo(() => ({ type: "subscriptions" }), [])}>
|
||||
<TimelineSelectorProvider>
|
||||
{whoami ? (
|
||||
<PagerList renderItem={(view) => <SubscriptionList view={view} />} />
|
||||
<PagerList renderItem={(view) => <SubscriptionList key={view} view={view} />} />
|
||||
) : (
|
||||
<NoLoginInfo target="subscriptions" />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user