used new Component

This commit is contained in:
Florian Scholdei
2019-01-29 14:02:36 +01:00
parent 6420e20cfe
commit c331aa55e3
4 changed files with 21 additions and 30 deletions

View File

@@ -21,9 +21,9 @@ class ButtonGroup extends React.Component<Props> {
let showSecondColor = secondColor;
if (firstIsSelected) {
showFirstColor += " is-selected";
showFirstColor += "link is-selected";
} else {
showSecondColor += " is-selected";
showSecondColor += "link is-selected";
}
return (