From 8a43eb43474230211af6ebe7bb488fb5f1e5924e Mon Sep 17 00:00:00 2001 From: khushi-3008 Date: Fri, 9 Apr 2021 23:08:20 +0530 Subject: [PATCH] Notification added --- electron/main.js | 2 +- src/components/Encryption/Encryption.jsx | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/electron/main.js b/electron/main.js index aaf311e..04ce7d8 100644 --- a/electron/main.js +++ b/electron/main.js @@ -19,7 +19,7 @@ app.whenReady().then(showNotification); function encryptNotification() { const notification = { - title: 'Encryption Competed', + title: 'Encryption Completed', body: 'Your file has been encrypted successfully!!' } new Notification(notification).show() diff --git a/src/components/Encryption/Encryption.jsx b/src/components/Encryption/Encryption.jsx index 509f027..34fc1d8 100644 --- a/src/components/Encryption/Encryption.jsx +++ b/src/components/Encryption/Encryption.jsx @@ -29,8 +29,6 @@ const Background = styled.div` background: rgb(39, 176, 255); `; - - const Encryption = props => { return ( <>