Skip to content

Commit 1430c79

Browse files
committed
Fix
1 parent 4a1d5d5 commit 1430c79

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/navigation/screenOnChain.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { generateInvoice } from "../app/lightning";
55
import { SCREEN_ONX_ADDRESS } from "../app/constants";
66
import * as nostrInterface from "../utils/nostr/encryption"; // Evita conflito de palavras-chave
77

8-
// Tipagem correta dos parâmetros de navegação
8+
// Navigation
99
interface NavigationParams {
1010
OnboardingHome: undefined;
1111
Send: undefined;
@@ -14,7 +14,7 @@ interface NavigationParams {
1414
generateAddress: undefined;
1515
}
1616

17-
// Tipagem para armazenamento de invoice na blockchain
17+
// Storage Invoice
1818
interface ScreenOnChain {
1919
[key in typeof SCREEN_ONX_ADDRESS]: {
2020
invoice: string;
@@ -28,7 +28,7 @@ export const Receive: React.FC = () => {
2828
);
2929
const [invoice, setInvoice] = useState<string | null>(null);
3030

31-
// Copiar endereço para área de transferência
31+
// Copy Adress
3232
const handleCopyAddress = () => {
3333
if (bitcoinAddress !== "Generate an address to receive Bitcoin") {
3434
console.log("Address copied to clipboard:", bitcoinAddress);
@@ -37,13 +37,13 @@ export const Receive: React.FC = () => {
3737
}
3838
};
3939

40-
// Gerar novo endereço Bitcoin
40+
// New Adrress Bitcoin
4141
const handleGenerateAddress = () => {
4242
const newAddress = "bc1q" + Math.random().toString(36).substring(2, 15);
4343
setBitcoinAddress(newAddress);
4444
};
4545

46-
// Gerar fatura Lightning
46+
// Generate Invoice Lightning
4747
const handleGenerateInvoice = async () => {
4848
try {
4949
const newInvoice = await generateInvoice();

0 commit comments

Comments
 (0)