File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ class AutoCounter extends React.Component {
1717 if ( this . state . alliance === "BLUE" ) {
1818 return (
1919 < div >
20- < button className = "inactive-red -button" onClick = { ( ) => this . handleAllianceBlue ( ) } >
20+ < button className = "active-blue -button" onClick = { ( ) => this . handleAllianceBlue ( ) } >
2121 < div className = "alliance-text" > Blue</ div >
2222 </ button >
23- < button className = "active-blue -button" onClick = { ( ) => this . handleAllianceRed ( ) } >
23+ < button className = "inactive-red -button" onClick = { ( ) => this . handleAllianceRed ( ) } >
2424 < div className = "alliance-text" > Red</ div >
2525 </ button >
2626 </ div >
@@ -36,6 +36,17 @@ class AutoCounter extends React.Component {
3636 </ button >
3737 </ div >
3838 ) ;
39+ } else {
40+ return (
41+ < div >
42+ < button className = "inactive-blue-button" onClick = { ( ) => this . handleAllianceBlue ( ) } >
43+ < div className = "alliance-text" > Blue</ div >
44+ </ button >
45+ < button className = "inactive-red-button" onClick = { ( ) => this . handleAllianceRed ( ) } >
46+ < div className = "alliance-text" > Red</ div >
47+ </ button >
48+ </ div >
49+ ) ;
3950 }
4051 }
4152
You can’t perform that action at this time.
0 commit comments