1import React from 'react';
2import { Flex, B } from 'indigo-react';
4import useKeyfileGenerator from 'lib/useKeyfileGenerator';
6import { DownloadButton } from 'components/Buttons';
8export default function DownloadKeyfileButton({
13 const { generating, available, downloaded, download } = useKeyfileGenerator(
17 const showHelp = !generating && !available;
23 disabled={downloaded || !available}
25 // TODO: make this a toggle-able 'help' or something — too much space
28 <Flex.Item as={B} className="wrap ws-normal">
29 · You are using nondeterministic networking keys. To download your
32 <Flex.Item as={B} className="wrap ws-normal">
33 a) Reset your networking keys, or
35 <Flex.Item as={B} className="wrap ws-normal">
36 b) Reticket to get deterministic networking keys.
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list