make chainId dependant on the stored value

Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
Uncle Fatso 2025-11-11 18:57:02 +03:00
parent b0e7da9f86
commit 9f79182c37
Signed by: f4ts0
GPG Key ID: 565F4F2860226EBB
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "ghost-dao-interface", "name": "ghost-dao-interface",
"private": true, "private": true,
"version": "0.3.7", "version": "0.3.8",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@ -242,7 +242,7 @@ const Bridge = ({ chainId, address, config, connect }) => {
const amount = new DecimalBigNumber(BigInt(currentRecord.amount), 18).toString(); const amount = new DecimalBigNumber(BigInt(currentRecord.amount), 18).toString();
let url = "https://lite.ghostchain.io/#/applause?"; let url = "https://lite.ghostchain.io/#/applause?";
url += `networkId=${chainId}&`; url += `networkId=${currentRecord.chainId}&`;
url += `sessionIndex=${currentRecord.sessionIndex}&`; url += `sessionIndex=${currentRecord.sessionIndex}&`;
url += `amount=${amount}&`; url += `amount=${amount}&`;
url += `receiver=${currentRecord.receiverAddress}&`; url += `receiver=${currentRecord.receiverAddress}&`;