From 943f36ab81ce4e375e1eaec60611d774e6a78a28 Mon Sep 17 00:00:00 2001 From: bincxz <16399091+binaricat@users.noreply.github.com> Date: Thu, 1 Jan 2026 22:30:53 +0800 Subject: [PATCH] Fixes indentation for button and dialog components Improves code readability and maintainability by correcting the indentation of button and dialog components. Aligns JSX structure for better consistency and easier future modifications. No functional changes introduced. --- components/VaultView.tsx | 68 ++++++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/components/VaultView.tsx b/components/VaultView.tsx index 58e88661e..30333aefc 100644 --- a/components/VaultView.tsx +++ b/components/VaultView.tsx @@ -845,18 +845,18 @@ const VaultViewInner: React.FC = ({ )} - + {/* View mode, tag filter, and sort controls */}
@@ -945,18 +945,18 @@ const VaultViewInner: React.FC = ({
- + )} @@ -1280,8 +1280,8 @@ const VaultViewInner: React.FC = ({ onUpdateIdentities( identities.find((ex) => ex.id === identity.id) ? identities.map((ex) => - ex.id === identity.id ? identity : ex, - ) + ex.id === identity.id ? identity : ex, + ) : [...identities, identity], ) } @@ -1373,13 +1373,13 @@ const VaultViewInner: React.FC = ({ /> )} - { - setIsNewFolderOpen(open); - if (!open) { - setNewFolderName(""); - setTargetParentPath(null); - } - }}> + { + setIsNewFolderOpen(open); + if (!open) { + setNewFolderName(""); + setTargetParentPath(null); + } + }}> @@ -1427,7 +1427,7 @@ const VaultViewInner: React.FC = ({ } }} > - + {t("vault.groups.renameDialogTitle")}