diff --git a/src/routes/chat/+page.svelte b/src/routes/chat/+page.svelte index 25928f755..0fe3f6f0e 100644 --- a/src/routes/chat/+page.svelte +++ b/src/routes/chat/+page.svelte @@ -304,8 +304,8 @@ async function sendPaymentMessage(message: MessageType, paymentType: string) { let transfer = new Transfer() let chat = get(Store.state.activeChat) - let rejectTranser = transfer.toRejectString(message.id) - let txt = rejectTranser.split("\n") + let rejectTransfer = transfer.toRejectString(message.id) + let txt = rejectTransfer.split("\n") if (paymentType === "result") { let result = await RaygunStoreInstance.send(chat.id, txt, []) result.onSuccess(res => {