diff options
Diffstat (limited to 'synapse_topology/webui')
-rw-r--r-- | synapse_topology/webui/src/js/components/ExportKeys.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse_topology/webui/src/js/components/ExportKeys.jsx b/synapse_topology/webui/src/js/components/ExportKeys.jsx index 2bb4b94047..ad7bdb680c 100644 --- a/synapse_topology/webui/src/js/components/ExportKeys.jsx +++ b/synapse_topology/webui/src/js/components/ExportKeys.jsx @@ -19,6 +19,7 @@ export default ({ secretKeyLoaded, secretKey, onClick }) => { const decoratedOnClick = () => { + setDownloadedOrCopied(false); toggle(); onClick(); @@ -51,7 +52,7 @@ export default ({ secretKeyLoaded, secretKey, onClick }) => { <ButtonDisplay> <button onClick={decoratedOnClick} - disabled={downloadedOrCopied ? undefined : "true"} + disabled={!downloadedOrCopied} >Next</button> </ButtonDisplay> </div> |