Format and make ban-suspicious-ips more better

This commit is contained in:
2025-07-22 09:20:01 -05:00
parent 77c88ea9de
commit f071b6c19b
36 changed files with 716 additions and 444 deletions

View File

@@ -34,7 +34,11 @@ const BasedAvatar = ({
{...props}
>
{src ? (
<AvatarImage {...imageProps} src={src} className={imageProps?.className} />
<AvatarImage
{...imageProps}
src={src}
className={imageProps?.className}
/>
) : (
<AvatarPrimitive.Fallback
{...fallbackProps}
@@ -51,7 +55,10 @@ const BasedAvatar = ({
.join('')
.toUpperCase()
) : (
<User {...userIconProps} className={cn('', userIconProps?.className)} />
<User
{...userIconProps}
className={cn('', userIconProps?.className)}
/>
)}
</AvatarPrimitive.Fallback>
)}