diff --git a/app/containers/ReactionsModal.tsx b/app/containers/ReactionsModal.tsx index d8c4e90da..95639bd7e 100644 --- a/app/containers/ReactionsModal.tsx +++ b/app/containers/ReactionsModal.tsx @@ -1,8 +1,5 @@ import React from 'react'; -import { - View, Text, FlatList, StyleSheet -} from 'react-native'; -import PropTypes from 'prop-types'; +import { View, Text, FlatList, StyleSheet } from 'react-native'; import Modal from 'react-native-modal'; import Touchable from 'react-native-platform-touchable'; diff --git a/app/containers/RoomHeader/RoomHeader.tsx b/app/containers/RoomHeader/RoomHeader.tsx index 3faff5a21..4a753137a 100644 --- a/app/containers/RoomHeader/RoomHeader.tsx +++ b/app/containers/RoomHeader/RoomHeader.tsx @@ -1,5 +1,4 @@ import React, { useCallback } from 'react'; -import PropTypes from 'prop-types'; import { View, Text, StyleSheet, TouchableOpacity } from 'react-native'; import I18n from '../../i18n'; diff --git a/app/containers/RoomHeader/index.tsx b/app/containers/RoomHeader/index.tsx index c83632378..454494118 100644 --- a/app/containers/RoomHeader/index.tsx +++ b/app/containers/RoomHeader/index.tsx @@ -1,5 +1,4 @@ import React, { Component } from 'react'; -import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { dequal } from 'dequal'; diff --git a/app/containers/RoomTypeIcon.tsx b/app/containers/RoomTypeIcon.tsx index e5c8ec069..20a5a2ddd 100644 --- a/app/containers/RoomTypeIcon.tsx +++ b/app/containers/RoomTypeIcon.tsx @@ -1,6 +1,5 @@ import React from 'react'; import { StyleSheet } from 'react-native'; -import PropTypes from 'prop-types'; import { CustomIcon } from '../lib/Icons'; import { STATUS_COLORS, themes } from '../constants/colors'; import Status from './Status/Status'; diff --git a/app/containers/SafeAreaView.tsx b/app/containers/SafeAreaView.tsx index 12a0ac806..c0e536f2e 100644 --- a/app/containers/SafeAreaView.tsx +++ b/app/containers/SafeAreaView.tsx @@ -1,6 +1,5 @@ import React from 'react'; import { StyleSheet } from 'react-native'; -import PropTypes from 'prop-types'; import { SafeAreaView as SafeAreaContext } from 'react-native-safe-area-context'; import { themes } from '../constants/colors'; import { withTheme } from '../theme'; diff --git a/app/containers/TextInput.tsx b/app/containers/TextInput.tsx index 1416fb523..90d5c33b0 100644 --- a/app/containers/TextInput.tsx +++ b/app/containers/TextInput.tsx @@ -1,6 +1,5 @@ import React from 'react'; import { View, StyleSheet, Text } from 'react-native'; -import PropTypes from 'prop-types'; import { BorderlessButton } from 'react-native-gesture-handler'; import sharedStyles from '../views/Styles'; diff --git a/app/containers/ThreadDetails.tsx b/app/containers/ThreadDetails.tsx index bb5181d2c..17fc5fe46 100644 --- a/app/containers/ThreadDetails.tsx +++ b/app/containers/ThreadDetails.tsx @@ -1,5 +1,4 @@ import React from 'react'; -import PropTypes from 'prop-types'; import { View, Text, StyleSheet } from 'react-native'; import Touchable from 'react-native-platform-touchable'; diff --git a/app/containers/UIKit/MultiSelect/Chips.tsx b/app/containers/UIKit/MultiSelect/Chips.tsx index 2ee98dfb3..5ccf25ad9 100644 --- a/app/containers/UIKit/MultiSelect/Chips.tsx +++ b/app/containers/UIKit/MultiSelect/Chips.tsx @@ -1,6 +1,5 @@ import React from 'react'; import { Text, View } from 'react-native'; -import PropTypes from 'prop-types'; import Touchable from 'react-native-platform-touchable'; import FastImage from '@rocket.chat/react-native-fast-image'; diff --git a/app/containers/UIKit/Select.tsx b/app/containers/UIKit/Select.tsx index f5e55801b..7c442a84d 100644 --- a/app/containers/UIKit/Select.tsx +++ b/app/containers/UIKit/Select.tsx @@ -1,6 +1,5 @@ import React, { useState } from 'react'; import { StyleSheet } from 'react-native'; -import PropTypes from 'prop-types'; import RNPickerSelect from 'react-native-picker-select'; import sharedStyles from '../../views/Styles';