From 512972be9f7ebd05062336a8953e85dcd9ccd2a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Aaron?= Date: Wed, 2 Oct 2024 00:00:22 +0200 Subject: [PATCH] fix: cleanup --- pages/send/Send.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pages/send/Send.tsx b/pages/send/Send.tsx index 3bf444b..65cbd07 100644 --- a/pages/send/Send.tsx +++ b/pages/send/Send.tsx @@ -17,7 +17,6 @@ import { Invoice } from "@getalby/lightning-tools"; import QRCodeScanner from "~/components/QRCodeScanner"; import Loading from "~/components/Loading"; import DismissableKeyboardView from "~/components/DismissableKeyboardView"; -import Toast from "react-native-toast-message"; export function Send() { const { url, amount } = useLocalSearchParams<{ url: string, amount: string }>(); @@ -142,11 +141,7 @@ export function Send() { } } catch (error) { console.error("failed to load payment", originalText, error); - //errorToast(error); - Toast.show({ - type: "error", - text1: text, - }) + errorToast(error); } finally { setLoading(false); }