fix missing translate (t) function

This commit is contained in:
Sebastian Sdorra
2018-10-22 13:00:44 +02:00
parent 9cb661b460
commit 6233e600f2
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ type Props = {
class ProtocolInformation extends React.Component<Props> {
render() {
const { repository } = this.props;
const { repository, t } = this.props;
const href = repositories.getProtocolLinkByType(repository, "http");
if (!href) {
return null;