diff --git a/components/ui/Toast.tsx b/components/ui/Toast.tsx index e44837e..ac55d7b 100644 --- a/components/ui/Toast.tsx +++ b/components/ui/Toast.tsx @@ -1,6 +1,7 @@ import React, { ReactNode } from 'react' import Text from './Text' import Block from './Block' +import { Text as RNText } from 'react-native' import { ActivityIndicator } from 'react-native' @@ -75,7 +76,7 @@ const Toast = (function () { if (renderContent) { return renderContent() } - return title && {title} + return title && {title} } ; (global as any).toast?.show(