From e219852c0451020b2d5b0e24b112f0af914880b4 Mon Sep 17 00:00:00 2001 From: Michael Li <33362998+michael-land@users.noreply.github.com> Date: Mon, 25 Mar 2024 02:01:02 -0500 Subject: [PATCH] [system] Fix typo to avoid infinite recursion in function call. (#41616) --- packages/mui-system/src/colorManipulator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mui-system/src/colorManipulator.js b/packages/mui-system/src/colorManipulator.js index e5a5a87b1b6a4a..7ec96f0060ab18 100644 --- a/packages/mui-system/src/colorManipulator.js +++ b/packages/mui-system/src/colorManipulator.js @@ -340,7 +340,7 @@ export function emphasize(color, coefficient = 0.15) { } export function private_safeEmphasize(color, coefficient, warning) { try { - return private_safeEmphasize(color, coefficient); + return emphasize(color, coefficient); } catch (error) { if (warning && process.env.NODE_ENV !== 'production') { console.warn(warning);