diff --git a/client/src/pages/header/Header.jsx b/client/src/pages/header/Header.jsx
index c1842d8..24b7466 100644
--- a/client/src/pages/header/Header.jsx
+++ b/client/src/pages/header/Header.jsx
@@ -149,6 +149,9 @@ export default function Header() {
+
diff --git a/client/src/pages/vault/Vault.jsx b/client/src/pages/vault/Vault.jsx
index 9799694..846bd02 100644
--- a/client/src/pages/vault/Vault.jsx
+++ b/client/src/pages/vault/Vault.jsx
@@ -1,3 +1,4 @@
+/* eslint-disable react-hooks/exhaustive-deps */
import { useEffect, useState } from 'react';
import Grid from '@mui/material/Grid2';
import {
@@ -133,7 +134,7 @@ export default function Vault() {
const copyToClipboard = (text) => {
navigator.clipboard.writeText(text);
- toast.success('Text Copied to clipboard!');
+ toast.success('Text has been copied to clipboard!');
}
return (
@@ -210,7 +211,7 @@ export default function Vault() {
{currentId == data._id ? (
copyToClipboard(data.username)}>
+ onClick={() => copyToClipboard(decrypted)}>
{decrypted}
) : (