fix button color issue
This commit is contained in:
parent
50c6dd92a6
commit
20352f1d72
@ -183,7 +183,7 @@ const Home: FunctionComponent<{ initial?: number }> = ({ initial = 0 }) => {
|
|||||||
<Button
|
<Button
|
||||||
context={context}
|
context={context}
|
||||||
text={context.texts.NewGame}
|
text={context.texts.NewGame}
|
||||||
color={context.themeManager.theme.primary}
|
color={context.themeManager.theme.holeColor}
|
||||||
onClick={newGameClick}
|
onClick={newGameClick}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
@ -313,7 +313,7 @@ const Home: FunctionComponent<{ initial?: number }> = ({ initial = 0 }) => {
|
|||||||
(game?.state === "playing" || game?.state === "initial") && (
|
(game?.state === "playing" || game?.state === "initial") && (
|
||||||
<Button
|
<Button
|
||||||
context={context}
|
context={context}
|
||||||
color={context.themeManager.theme.primary}
|
color={context.themeManager.theme.holeColor}
|
||||||
text={context.texts.Leave}
|
text={context.texts.Leave}
|
||||||
onClick={leaveGame}
|
onClick={leaveGame}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user