Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

knip

Blue Mouseaf1b9a0622f2
diff --git a/web/app/utils/profileAvatars.tsx b/web/app/utils/profileAvatars.tsx
index 6488b15ad..3ba4ba401 100644
--- a/web/app/utils/profileAvatars.tsx
+++ b/web/app/utils/profileAvatars.tsx
@@ -169,7 +169,7 @@ const AVATAR_COLORS = ['#92A1C6', '#146A7C', '#F0AB3D', '#C271B4', '#C20D90']
/**
* Generate a deterministic display name from profileId
*/
-export const generateDisplayName = (profileId: string): string => {
+const generateDisplayName = (profileId: string): string => {
let hash = 0
for (let i = 0; i < profileId.length; i++) {
const char = profileId.charCodeAt(i)