Skip to content

Commit

Permalink
fixed [Bug] MKButtonRoot's typo creativetimofficial#113
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivek7038 committed May 31, 2023
1 parent 53cc032 commit 53a6413
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 53a6413

Please sign in to comment.