Skip to content

Commit

Permalink
Connect to station using the window object (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecande11 authored Jul 31, 2023
1 parent ff63a3a commit 9af7e4e
Show file tree
Hide file tree
Showing 3 changed files with 238 additions and 28 deletions.
260 changes: 235 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"hompage": "https://station.terra.money",
"author": "Terra <[email protected]> (https://terra.money)",
"repository": "github:terra-money/station",
"version": "7.3.0",
"version": "7.3.1",
"license": "MIT",
"scripts": {
"start": "react-scripts start",
Expand All @@ -31,7 +31,7 @@
"@terra-money/terra-utils": "^1.0.9",
"@terra-money/terra.js": "^3.1.9",
"@terra-money/terra.proto": "^2.0.0",
"@terra-money/wallet-kit": "^1.0.4",
"@terra-money/wallet-kit": "^1.0.5",
"@tippyjs/react": "^4.2.6",
"axios": "^0.27.2",
"bech32": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/txs/Tx.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ function Tx<TxValues>(props: Props<TxValues>) {
const { txhash } = await auth.post({ ...tx, fee }, password)
!hideLoader && setLatestTx({ txhash, ...latestTxBase })
} else {
const { result } = await post({ ...tx, fee })
const result = await post({ ...tx, fee })
if (!result) throw new Error("Tx failed")
!hideLoader && setLatestTx({ txhash: result.txhash, ...latestTxBase })
}
Expand Down

0 comments on commit 9af7e4e

Please sign in to comment.