From 42e7dbe1919d83ecd5836deafa1f4984acdb3e09 Mon Sep 17 00:00:00 2001 From: Jakub Butkiewicz Date: Mon, 30 Oct 2023 15:41:46 +0100 Subject: [PATCH] fix: removed component since its not used anymore --- src/components/InlineErrorText.tsx | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/components/InlineErrorText.tsx 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;