feat: implement master key decryption for letters and add UI warning for image decryption failures

This commit is contained in:
ramvignesh-b
2026-04-15 17:50:38 +05:30
parent a72464bfbb
commit 198f9c32dd
4 changed files with 192 additions and 40 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import { useLetters } from "../hooks/useLetters";
export default function Drawer() {
const { user, logout, unlock } = useAuth();
const [openSection, setOpenSection] = useState<string | null>();
const [openSection, setOpenSection] = useState<string | null>(null);
const navigate = useNavigate();
const { drafts, kept, sent, vault, loading, isAuthRequired } = useLetters();