on master help sign in
Use more-obviously-fake placeholder values
commitb76a2ec7816cd93318c3b5dbe1de6f5946800bfe authorFang <git@fang.io> dateThu 25 Jul 2019, 16:16 (7 years ago) parente082c49
1 file changed+6−6
src/lib/useInputs.js+6−6
src/lib/useInputs.js+6−6
@@ -1,7 +1,6 @@
11import React, { useCallback, useMemo } from 'react';
22import { AccessoryIcon, useForm } from 'indigo-react';
33import { identity } from 'lodash';
4−import * as bip39 from 'bip39';
54
65import { DEFAULT_HD_PATH } from 'lib/wallet';
76import {
@@ -22,13 +21,14 @@ import { prependSig, convertToNumber } from 'lib/transformers';
2221
2322import InputSigil from 'components/InputSigil';
2423
25−const PLACEHOLDER_POINT = '~zod';
24+const PLACEHOLDER_POINT = '~sampel-ponnym';
2625const PLACEHOLDER_HD_PATH = DEFAULT_HD_PATH;
27−const PLACEHOLDER_MNEMONIC = bip39.generateMnemonic();
28−const PLACEHOLDER_TICKET = '~ragtyd-modwen-bostec-hinsep';
29−const PLACEHOLDER_ADDRESS = '0x6DEfFb0caFDB11D175F123F6891AA64F01c24F7d';
26+const PLACEHOLDER_MNEMONIC =
27+ 'example crew supreme gesture quantum web media hazard theory mercy wing kitten';
28+const PLACEHOLDER_TICKET = '~sampel-ticlyt-migfun-falmel';
29+const PLACEHOLDER_ADDRESS = '0x12345abcdeDB11D175F123F6891AA64F01c24F7d';
3030const PLACEHOLDER_PRIVATE_KEY =
31− '0xa44de2416ee6beb2f323fab48b432925c9785808d33a6ca6d7ba00b45e9370c3';
31+ '0x12345abcdee6beb2f323fab48b432925c9785808d33a6ca6d7ba00b45e9370c3';
3232
3333// pulls out the first input from a useForm() call
3434function useFirstOf({ inputs, setValue, ...rest }, mapper = identity) {