Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Oct 1, 2024
1 parent a2b1c2c commit 512972b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pages/send/Send.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }>();
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 512972b

Please sign in to comment.