mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fix: avatar upload and logout
This commit is contained in:
parent
315ba31014
commit
bb163eae8f
4 changed files with 41 additions and 19 deletions
|
@ -27,6 +27,7 @@ const Avatar = forwardRef<HTMLDivElement, Props>(
|
|||
className,
|
||||
preset = imagePresets.avatar,
|
||||
hasUpdates,
|
||||
children,
|
||||
...rest
|
||||
},
|
||||
ref,
|
||||
|
@ -43,7 +44,9 @@ const Avatar = forwardRef<HTMLDivElement, Props>(
|
|||
className={classNames(styles.avatar, className)}
|
||||
size={size}
|
||||
ref={ref}
|
||||
/>
|
||||
>
|
||||
{children}
|
||||
</Square>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue