From 288991d14d3c57beab4c7515e387861f51552ec4 Mon Sep 17 00:00:00 2001 From: Relentless4123 <101804143+Likhil022@users.noreply.github.com> Date: Thu, 7 Nov 2024 13:33:25 +0530 Subject: [PATCH] Update MKButtonRoot.js Fixed issue #113, please check it --- src/components/MKButton/MKButtonRoot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MKButton/MKButtonRoot.js b/src/components/MKButton/MKButtonRoot.js index 29b5969a5..e659a8664 100644 --- a/src/components/MKButton/MKButtonRoot.js +++ b/src/components/MKButton/MKButtonRoot.js @@ -67,7 +67,7 @@ export default styled(Button)(({ theme, ownerState }) => { // color value when button is focused let focusedColorValue = white.main; - if (color === "darfault") { + if (color === "default") { focusedColorValue = text.main; } else if (color === "white") { focusedColorValue = dark.main;