Skip to content

Commit c93c0b0

Browse files
committed
fix(issuer): add the elusive test-specific copy
1 parent 513a907 commit c93c0b0

1 file changed

Lines changed: 29 additions & 7 deletions

File tree

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

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,35 @@ export const ApplyFormComponent = props => {
145145
Submit
146146
</Button>
147147
</p>
148-
<p className="pui-input-hint">
149-
When you click submit, an email which contains the information entered
150-
on that screen will be sent to the Advisory firm(s) you have selected.
151-
None of this information is stored on Polymath servers, only your
152-
browser&apos;s cache. To clear this information, simply clear your
153-
browser&apos;s cache.
154-
</p>
148+
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 ? (
154+
<p className="pui-input-hint">
155+
When you click submit, an email which contains the information entered
156+
on that screen will be sent to the Advisory firm(s) you have selected.
157+
None of this information is stored on Polymath servers, only your
158+
browser&apos;s cache. To clear this information, simply clear your
159+
browser&apos;s cache.
160+
</p>
161+
) : (
162+
<p className="pui-input-hint">
163+
<strong>
164+
<em>
165+
You are using Token Studio in a testnet environment. When you
166+
click submit, an email WILL NOT be sent to the providers you have
167+
selected. To send an email to the selected providers, please log
168+
into Token Studio with mainnet.
169+
<br />
170+
None of this information is stored on Polymath servers, only your
171+
browser&apos;s cache. To clear this information, simply clear your
172+
browser&apos;s cache.
173+
</em>
174+
</strong>
175+
</p>
176+
)}
155177
<br />
156178
</Form>
157179
);

0 commit comments

Comments
 (0)