From 565f02a534c0ce056a48377c6602fdfae47b9d02 Mon Sep 17 00:00:00 2001 From: vakarisz Date: Thu, 30 Jun 2022 12:10:00 +0300 Subject: [PATCH] UI: Replace " with ' in ImportConfigModal.tsx --- .../configuration-components/ImportConfigModal.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/configuration-components/ImportConfigModal.tsx b/monkey/monkey_island/cc/ui/src/components/configuration-components/ImportConfigModal.tsx index 872e1c002..bbdf3ca88 100644 --- a/monkey/monkey_island/cc/ui/src/components/configuration-components/ImportConfigModal.tsx +++ b/monkey/monkey_island/cc/ui/src/components/configuration-components/ImportConfigModal.tsx @@ -116,7 +116,7 @@ const ConfigImportModal = (props: Props) => { try { importContents = JSON.parse(event.target.result); } catch (e){ - setErrorMessage("File is not in a valid json format"); + setErrorMessage('File is not in a valid json format'); return } setConfigEncrypted(importContents['metadata']['encrypted']); @@ -160,9 +160,9 @@ const ConfigImportModal = (props: Props) => {
{showVerificationDialog()}
- @@ -196,8 +196,8 @@ const PasswordInput = (props: { return (

File is protected. Please enter the password:

- (props.onChange(evt.target.value))}/>
)