Skip to content

Commit

Permalink
Update MKButtonRoot.js
Browse files Browse the repository at this point in the history
Fixed issue No creativetimofficial#113. please review it.
  • Loading branch information
Likhil022 authored Nov 7, 2024
1 parent 4bdea34 commit 247db43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MKButton/MKButtonRoot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 247db43

Please sign in to comment.