From 247db43dba66345a435564005fff1a25eee27612 Mon Sep 17 00:00:00 2001 From: Relentless4123 <101804143+Likhil022@users.noreply.github.com> Date: Thu, 7 Nov 2024 13:29:36 +0530 Subject: [PATCH] Update MKButtonRoot.js Fixed issue No #113. please review 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;