Yuki Takei 6 ani în urmă
părinte
comite
ce787133bb
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/client/js/components/User/UserPicture.jsx

+ 1 - 1
src/client/js/components/User/UserPicture.jsx

@@ -101,7 +101,7 @@ export default class UserPicture extends React.Component {
 
 UserPicture.propTypes = {
   user: PropTypes.object,
-  size: PropTypes.string,
+  size: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']),
   noLink: PropTypes.bool,
   noTooltip: PropTypes.bool,
 };