diff --git a/src/components/InlineErrorText.tsx b/src/components/InlineErrorText.tsx deleted file mode 100644 index 53c219ff8407..000000000000 --- a/src/components/InlineErrorText.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import React from 'react'; -import {TextStyle} from 'react-native'; -import styles from '@styles/styles'; -import Text from './Text'; - -type InlineErrorTextProps = { - children: React.ReactNode; - styles: TextStyle[]; -}; -function InlineErrorText(props: InlineErrorTextProps) { - if (!props.children) { - return null; - } - - return {props.children}; -} - -InlineErrorText.displayName = 'InlineErrorText'; -export default InlineErrorText;