mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-05 12:36:31 +03:00
remove intl hook
This commit is contained in:
parent
340a911acb
commit
f720b296a3
@ -2,7 +2,6 @@ import React, { useState } from 'react';
|
||||
import { SafeAreaView, FlatList, View, Text, TouchableOpacity } from 'react-native';
|
||||
import get from 'lodash/get';
|
||||
import isUndefined from 'lodash/isUndefined';
|
||||
import { useIntl } from 'react-intl';
|
||||
import Highlighter from 'react-native-highlight-words';
|
||||
|
||||
// Components
|
||||
@ -20,8 +19,6 @@ import styles from './postsResultsStyles';
|
||||
const filterOptions = ['relevance', 'popularity', 'newest'];
|
||||
|
||||
const PostsResults = ({ navigation, searchValue }) => {
|
||||
const intl = useIntl();
|
||||
|
||||
const _renderItem = (item, index) => {
|
||||
const reputation =
|
||||
get(item, 'author_rep', undefined) || get(item, 'author_reputation', undefined);
|
||||
|
Loading…
Reference in New Issue
Block a user