Skip to content

Commit 13c2c37

Browse files
authored
Merge pull request #48315 from nextcloud/fix/remove-needless-console-log
refactor(AccountIcon): Remove needless console.log
2 parents 8e58d58 + 8907f81 commit 13c2c37

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

apps/files_sharing/src/utils/AccountIcon.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ const isDarkMode = window?.matchMedia?.('(prefers-color-scheme: dark)')?.matches
88
|| document.querySelector('[data-themes*=dark]') !== null
99

1010
export const generateAvatarSvg = (userId: string, isExternalUser = false) => {
11-
console.log('User ID:', userId)
1211
const url = isDarkMode ? '/avatar/{userId}/32/dark' : '/avatar/{userId}/32'
1312
const avatarUrl = generateUrl(isExternalUser ? url + '?guestFallback=true' : url, { userId })
1413
return `<svg width="32" height="32" viewBox="0 0 32 32"

0 commit comments

Comments
 (0)