X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fusers%2FProfile.js;h=10c70dbf92bb4037a8ae2dbc96ab2fae22829c6d;hb=d32516335ea2534e15256c948e9c38d3de40794b;hp=f38ba2f3d8830b8447a3ecbf5b9bfe8802f9446e;hpb=920f11ddfeb2175e4e1556886773dcd044c6085b;p=alttp.git diff --git a/resources/js/components/users/Profile.js b/resources/js/components/users/Profile.js index f38ba2f..10c70db 100644 --- a/resources/js/components/users/Profile.js +++ b/resources/js/components/users/Profile.js @@ -5,6 +5,7 @@ import { withTranslation } from 'react-i18next'; import Box from './Box'; import EditStreamLinkButton from './EditStreamLinkButton'; +import Participation from './Participation'; import Icon from '../common/Icon'; import i18n from '../../i18n'; @@ -35,11 +36,17 @@ const Profile = ({ user }) =>

+ +

{i18n.t('users.tournaments')}

+ +
; Profile.propTypes = { user: PropTypes.shape({ + participation: PropTypes.arrayOf(PropTypes.shape({ + })), stream_link: PropTypes.string, username: PropTypes.string, }),