add comment to development example list

This commit is contained in:
Edmond Lee 2020-06-03 09:01:55 -07:00
parent 2b0f3ce969
commit 7d65000e2a

View File

@ -31,7 +31,11 @@ export const DEFAULT_STATE: ExamplesState = {
list: [] list: []
}; };
if (process.env.NODE_ENV === 'development') { 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 = [ DEFAULT_STATE.list = [
{ id: 'FEb62HL7onjg1424eUsGSg', name: 'Increment (PascaLIGO)' }, { id: 'FEb62HL7onjg1424eUsGSg', name: 'Increment (PascaLIGO)' },
{ id: 'MzkMQ1oiVHJqbcfUuVFKTw', name: 'Increment (CameLIGO)' }, { id: 'MzkMQ1oiVHJqbcfUuVFKTw', name: 'Increment (CameLIGO)' },