on master help sign in
fix: shorten note about arvo keyfile disabled detail
363a711Matt Condon (shrugs)
src/components/DownloadKeyfileButton.js+5−14
@@ -1,5 +1,5 @@
1import React from 'react';
1import React from 'react';
2−import { Flex, B } from 'indigo-react';
2+import { B } from 'indigo-react';
3
3
4import useKeyfileGenerator from 'lib/useKeyfileGenerator';
4import useKeyfileGenerator from 'lib/useKeyfileGenerator';
5
5
@@ -22,20 +22,11 @@ export default function DownloadKeyfileButton({
22 className={className}
22 className={className}
23 disabled={downloaded || !available}
23 disabled={downloaded || !available}
24 disabledDetail={
24 disabledDetail={
25− // TODO: make this a toggle-able 'help' or something — too much space
26 showHelp && (
25 showHelp && (
27− <Flex col>
28− <Flex.Item as={B} className="wrap ws-normal">
26+ <B className="wrap ws-normal">
29− · You are using nondeterministic networking keys. To download your
27+ · Custom or nondeterministic networking keys cannot be
30− Arvo keyfile, either:
28+ re-downloaded.
31− </Flex.Item>
29+ </B>
32− <Flex.Item as={B} className="wrap ws-normal">
33− a) Reset your networking keys, or
34− </Flex.Item>
35− <Flex.Item as={B} className="wrap ws-normal">
36− b) Reticket to get deterministic networking keys.
37− </Flex.Item>
38− </Flex>
39 )
30 )
40 }
31 }
41 loading={generating}
32 loading={generating}