fix review findings

This commit is contained in:
Eduard Heimbuch
2020-09-18 10:12:12 +02:00
parent 08fccb180b
commit b2a204dda0
10 changed files with 30 additions and 38 deletions

View File

@@ -33,16 +33,12 @@ type Props = {
const GitTagInformation: FC<Props> = ({ tag }) => {
const [t] = useTranslation("plugins");
if (!tag) {
return null;
}
return (
<>
<h4>{t("scm-git-plugin.information.checkoutTag")}</h4>
<pre>
<code>
git checkout tags/{tag?.name} -b branch/{tag?.name}
git checkout tags/{tag.name} -b branch/{tag.name}
</code>
</pre>
</>