fix button color issue

This commit is contained in:
Halit Aksoy 2022-07-13 15:23:08 +03:00
parent 50c6dd92a6
commit 20352f1d72

View File

@ -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}
/> />