about summary refs log tree commit diff
path: root/src/view/com/util/UserAvatar.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-11-21 16:58:13 -0600
committerGitHub <noreply@github.com>2023-11-21 16:58:13 -0600
commit47d2d3cbf289ebb2e893e07b5265aad8fcd64cb1 (patch)
tree240fa451bea159796c25180bc0501a6190c6c629 /src/view/com/util/UserAvatar.tsx
parent4c4ba553bdc4029e78eaf2ccf0f9df12e41a1b01 (diff)
downloadvoidsky-47d2d3cbf289ebb2e893e07b5265aad8fcd64cb1.tar.zst
[PWI] Shell (#1967)
* Sidebars

* Bottom bar

* Drawer

* Translate

* Spacing fix

* Fix responsive regression

* Fix nit
Diffstat (limited to 'src/view/com/util/UserAvatar.tsx')
-rw-r--r--src/view/com/util/UserAvatar.tsx8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/view/com/util/UserAvatar.tsx b/src/view/com/util/UserAvatar.tsx
index 2012f5828..395e9eb3a 100644
--- a/src/view/com/util/UserAvatar.tsx
+++ b/src/view/com/util/UserAvatar.tsx
@@ -43,7 +43,13 @@ interface PreviewableUserAvatarProps extends BaseUserAvatarProps {
 
 const BLUR_AMOUNT = isWeb ? 5 : 100
 
-function DefaultAvatar({type, size}: {type: UserAvatarType; size: number}) {
+export function DefaultAvatar({
+  type,
+  size,
+}: {
+  type: UserAvatarType
+  size: number
+}) {
   if (type === 'algo') {
     // Font Awesome Pro 6.4.0 by @fontawesome -https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc.
     return (