X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fresults%2FItem.js;h=771c7b62a68ad825a9fe74288db70935c51bdcb5;hb=d748feb96453d74aeffec648d6f5f68d9ef3b520;hp=993a3823fd2cfd5a1058b749d67ac1ec81fa4ba8;hpb=c30ac282dde3d746d6a7762ee18c70b4416500b5;p=alttp.git diff --git a/resources/js/components/results/Item.js b/resources/js/components/results/Item.js index 993a382..771c7b6 100644 --- a/resources/js/components/results/Item.js +++ b/resources/js/components/results/Item.js @@ -15,11 +15,11 @@ const Item = ({ return (
- {result ? -
- {i18n.t('results.time', { time: formatTime(result) })} -
- : null} +
+ {result ? + {i18n.t('results.time', { time: formatTime(result) })} + : null} +
); }; @@ -33,6 +33,8 @@ Item.propTypes = { }), tournament: PropTypes.shape({ }), + user: PropTypes.shape({ + }), }; export default withTranslation()(Item);