From a37735fc1cb5fc1fbe7b18bc71c4cd96b6edee1a Mon Sep 17 00:00:00 2001 From: Gigi Date: Fri, 17 Oct 2025 20:33:25 +0200 Subject: [PATCH] refactor: show decrypted bookmarks above loaded events --- src/components/Debug.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/Debug.tsx b/src/components/Debug.tsx index 8ee4b82a..944807c1 100644 --- a/src/components/Debug.tsx +++ b/src/components/Debug.tsx @@ -535,6 +535,17 @@ const Debug: React.FC = ({ relayPool }) => { + {bookmarkStats && ( +
+
Decrypted Bookmarks:
+
+
Public: {bookmarkStats.public}
+
Private: {bookmarkStats.private}
+
Total: {bookmarkStats.public + bookmarkStats.private}
+
+
+ )} + {bookmarkEvents.length > 0 && (
Loaded Events ({bookmarkEvents.length}):
@@ -562,17 +573,6 @@ const Debug: React.FC = ({ relayPool }) => {
)} - - {bookmarkStats && ( -
-
Decrypted Bookmarks:
-
-
Public: {bookmarkStats.public}
-
Private: {bookmarkStats.private}
-
Total: {bookmarkStats.public + bookmarkStats.private}
-
-
- )} {/* Debug Logs Section */}