Yuki Takei hai 11 meses
pai
achega
a2b0e67040
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  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,
 }