Skip to content

Commit

Permalink
Show Soroban banner on testnet + update Webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
quietbits committed Dec 11, 2023
1 parent 2809858 commit 9d4169f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 4 additions & 2 deletions src/hooks/useIsSoroban.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ export const useIsSoroban = () => {

let isOnFuturenet = false;
if (
url.origin === NETWORK.available.futurenet.horizonURL &&
networkPassphrase === NETWORK.available.futurenet.networkPassphrase
(url.origin === NETWORK.available.futurenet.horizonURL &&
networkPassphrase === NETWORK.available.futurenet.networkPassphrase) ||
(url.origin === NETWORK.available.test.horizonURL &&
networkPassphrase === NETWORK.available.test.networkPassphrase)
) {
isOnFuturenet = true;
}
Expand Down
3 changes: 0 additions & 3 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,4 @@ module.exports = {
exclude: "node_modules",
}),
],
watchOptions: {
ignored: /node_modules/,
},
};

0 comments on commit 9d4169f

Please sign in to comment.