-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Error: Text strings must be rendered within a <Text> component.
This error is located at:
in RCTView (at View.js:32)
in View (created by Publication)
in RCTView (at View.js:32)
in View (created by Publication)
in RCTView (at View.js:32)
in View (created by Publication)
in Publication (created by CellRenderer)
in RCTView (at View.js:32)
...
My code:
const LensHome = () => {
const navigation = useNavigation();
return (
<SafeAreaView style={styles.container}>
<Search
placeholder={i18next.t('search')}
searchType={SearchType.publication}
onProfileImagePress={profile => {
navigation.navigate('LensProfile', { profile });
}}
onLikePress={() => {}}
onCommentPress={publication => {
const publicationId = publication?.mirrorOf
? publication?.mirrorOf?.id
: publication?.id;
navigation.push('LensComments', {
publicationId,
});
}}
/>
</SafeAreaView>
);
};
export default LensHome;
The weird thing is this error is random, sometimes it happens, sometimes it doesn't, but when it always happens after the spinner (loading indicator) 'completes' the loading.
Metadata
Metadata
Assignees
Labels
No labels