diff --git a/src/components/ProfileCard.tsx b/src/components/ProfileCard.tsx index 4aec74880a..e01c27655f 100644 --- a/src/components/ProfileCard.tsx +++ b/src/components/ProfileCard.tsx @@ -1,4 +1,4 @@ -import React from 'react' +import {useMemo} from 'react' import {type GestureResponderEvent, View} from 'react-native' import { moderateProfile, @@ -277,7 +277,13 @@ export function Name({ {name} @@ -345,7 +351,7 @@ export function Description({ numberOfLines?: number }) { const profile = useProfileShadow(profileUnshadowed) - const rt = React.useMemo(() => { + const rt = useMemo(() => { if (!('description' in profile)) return const rt = new RichTextApi({text: profile.description || ''}) rt.detectFacetsWithoutResolution()