From 2471974d79595179f3d8307adaac6c26a1548af1 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Wed, 13 Dec 2023 18:57:43 -0800
Subject: style(Tools): simplify statements

---
 src/lib/Tools/ActivityHistory.svelte | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'src/lib/Tools/ActivityHistory.svelte')

diff --git a/src/lib/Tools/ActivityHistory.svelte b/src/lib/Tools/ActivityHistory.svelte
index e946a116..122a7513 100644
--- a/src/lib/Tools/ActivityHistory.svelte
+++ b/src/lib/Tools/ActivityHistory.svelte
@@ -21,9 +21,7 @@
 		clearAllParameters();
 
 		if (user !== undefined) {
-			if ($userIdentity === '') {
-				userIdentity.set(JSON.stringify(await getUserIdentity(user)));
-			}
+			if ($userIdentity === '') userIdentity.set(JSON.stringify(await getUserIdentity(user)));
 
 			currentUserIdentity = JSON.parse($userIdentity);
 			currentUserIdentity.name = currentUserIdentity.name;
-- 
cgit v1.2.3

