From 5a8c820e7461b7bc69a395d6f71719913d5c9eda Mon Sep 17 00:00:00 2001 From: Timothy Sturm Date: Fri, 4 Oct 2019 09:58:56 -0500 Subject: [PATCH] "toUpperCase" expects 0 arguments, but 1 was provided --- src/assets/jss/material-dashboard-react.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/jss/material-dashboard-react.js b/src/assets/jss/material-dashboard-react.js index f64145a40..17f82e11b 100644 --- a/src/assets/jss/material-dashboard-react.js +++ b/src/assets/jss/material-dashboard-react.js @@ -34,7 +34,7 @@ const hexToRgb = input => { let last = input[2]; input = first + first + second + second + last + last; } - input = input.toUpperCase(input); + input = input.toUpperCase(); let first = input[0] + input[1]; let second = input[2] + input[3]; let last = input[4] + input[5];