From 7d65000e2aaf972efe873a8dceca842c2dc6993d Mon Sep 17 00:00:00 2001 From: Edmond Lee Date: Wed, 3 Jun 2020 09:01:55 -0700 Subject: [PATCH] add comment to development example list --- tools/webide/packages/client/src/redux/examples.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/webide/packages/client/src/redux/examples.ts b/tools/webide/packages/client/src/redux/examples.ts index 9a42f80a1..b4b673122 100644 --- a/tools/webide/packages/client/src/redux/examples.ts +++ b/tools/webide/packages/client/src/redux/examples.ts @@ -31,7 +31,11 @@ export const DEFAULT_STATE: ExamplesState = { list: [] }; + if (process.env.NODE_ENV === 'development') { + + // The name value configured in this list will only be for the development environment. + // For other environments, the name value will be taken directly from your contract's yaml configuration. DEFAULT_STATE.list = [ { id: 'FEb62HL7onjg1424eUsGSg', name: 'Increment (PascaLIGO)' }, { id: 'MzkMQ1oiVHJqbcfUuVFKTw', name: 'Increment (CameLIGO)' },