Skip to content

Commit 3efa912

Browse files
authored
Merge pull request #645 from PolymathNetwork/fix/testnets-copy
fix(issuer): fix network check
2 parents 8b7cd27 + f73e461 commit 3efa912

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/polymath-issuer/src/pages/providers/ApplyForm.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,11 @@ export const ApplyFormComponent = props => {
146146
</Button>
147147
</p>
148148

149-
{networkId === MAINNET_NETWORK_ID ? (
149+
{/*
150+
We are not going to compare networkId to MAINNET_NETWORK_ID constant.
151+
The former is a number and the later is a string. Fortunately, mainnet ID is 1 and will always be 1
152+
*/}
153+
{networkId === 1 ? (
150154
<p className="pui-input-hint">
151155
When you click submit, an email which contains the information entered
152156
on that screen will be sent to the Advisory firm(s) you have selected.

0 commit comments

Comments
 (0)