From 553f7b1aef9363e611ccf187cc3bfc6713d5133b Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Thu, 29 Jan 2026 21:24:42 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Improve=20readability=20by=20reform?= =?UTF-8?q?atting=20computed=20properties=20and=20function=20calls?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pokedex.online/src/views/AuthenticationHub.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/code/websites/pokedex.online/src/views/AuthenticationHub.vue b/code/websites/pokedex.online/src/views/AuthenticationHub.vue index 12bf760..5a4f678 100644 --- a/code/websites/pokedex.online/src/views/AuthenticationHub.vue +++ b/code/websites/pokedex.online/src/views/AuthenticationHub.vue @@ -373,7 +373,9 @@ const hasChallongeClientCredentials = computed( const isChallongeClientCredentialsValid = computed( () => challengeClientCreds.isAuthenticated.value ); -const challongeClientId = computed(() => challengeClientCreds.maskedClientId.value); +const challongeClientId = computed( + () => challengeClientCreds.maskedClientId.value +); const challongeClientExpiresIn = computed( () => challengeClientCreds.tokenInfo.value?.expiresIn ); @@ -446,7 +448,10 @@ function disconnectChallongeOAuth() { function saveChallongeClientCredentials() { try { - challengeClientCreds.saveCredentials(newClientId.value, newClientSecret.value); + challengeClientCreds.saveCredentials( + newClientId.value, + newClientSecret.value + ); newClientId.value = ''; newClientSecret.value = ''; successMessage.value = 'Client credentials saved!';