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,
 }