mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 23:29:08 +03:00
small fix
This commit is contained in:
1 parent
ba09718fbd
commit
f7162e9bf4
1 file changed
+1
-1
@@ -180,7 +180,7 @@ export function getAvatarUrl(user: User): string | undefined {
|
||||
profileImageURL ||
|
||||
profile_image_url) as string | undefined
|
||||
|
||||
return SUPPORTED_CSP_AVATAR_URLS.some((x) => url?.startsWith(x)) ? url : undefined
|
||||
return SUPPORTED_CSP_AVATAR_URLS.some((x) => (url ?? '')?.startsWith(x)) ? url : undefined
|
||||
}
|
||||
|
||||
export const formatUserColumns = ({
|
||||
|
||||
Reference in new issue
Block a user