Yuki Takei пре 11 месеци
родитељ
комит
a2b0e67040
1 измењених фајлова са 2 додато и 3 уклоњено
  1. 2 3
      packages/ui/src/components/UserPicture.tsx

+ 2 - 3
packages/ui/src/components/UserPicture.tsx

@@ -19,11 +19,10 @@ const UncontrolledTooltip = dynamic<UncontrolledTooltipProps>(() => import('reac
 const DEFAULT_IMAGE = '/images/icons/user.svg';
 
 
-type UserPitureSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
+type UserPictureSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
 
 type UserPictureRootProps = {
-  user: IUser,
-  size?: UserPitureSize,
+  size?: UserPictureSize,
   className?: string,
   children?: ReactNode,
 }