From 8841ff02c7962b5790c25fb395e48e5b1d7bce6d Mon Sep 17 00:00:00 2001 From: Kitteh Date: Sun, 23 May 2021 15:23:40 +0100 Subject: [PATCH] Add tsx syntax to TransitDecrypt. --- src/elements/ReactCopyableModal.tsx | 3 +- src/pages/Secrets/Transit/TransitDecrypt.ts | 117 ------------------- src/pages/Secrets/Transit/TransitDecrypt.tsx | 92 +++++++++++++++ 3 files changed, 94 insertions(+), 118 deletions(-) delete mode 100644 src/pages/Secrets/Transit/TransitDecrypt.ts create mode 100644 src/pages/Secrets/Transit/TransitDecrypt.tsx diff --git a/src/elements/ReactCopyableModal.tsx b/src/elements/ReactCopyableModal.tsx index b5aa756..5da8689 100644 --- a/src/elements/ReactCopyableModal.tsx +++ b/src/elements/ReactCopyableModal.tsx @@ -6,6 +6,7 @@ import UIkit from "uikit"; import i18next from "i18next"; export type CopyableModalProps = { + id: string; name: string; contentString: string; }; @@ -29,7 +30,7 @@ export class CopyableModal extends Component { render(): JSX.Element { return ( -