From 47edd8c6877c531fc25dd0d463405de39b69e44c Mon Sep 17 00:00:00 2001 From: Sebastian Di Luzio Date: Tue, 12 Sep 2023 21:58:18 +0200 Subject: [PATCH] Update useProfileFromRoute.ts --- composables/useProfileFromRoute.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composables/useProfileFromRoute.ts b/composables/useProfileFromRoute.ts index fcb45ed5..0647433f 100644 --- a/composables/useProfileFromRoute.ts +++ b/composables/useProfileFromRoute.ts @@ -36,7 +36,7 @@ function setMetaInfo (person: Profile['person']) { } function setProfileByName (name: string) { - console.log('useProfileFromRoute', name); + // Exit early if the profile hasn't changed if (name === unref(profile).person.name.first.toLowerCase()) { return; }