Skip to content

Commit

Permalink
Update useProfileFromRoute.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
maybeanerd committed Sep 12, 2023
1 parent a5d462a commit 47edd8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composables/useProfileFromRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 47edd8c

Please sign in to comment.