@lotte-innovate/ui-component-test 0.0.138 → 0.0.139

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,11 +27,6 @@ export var useDarkMode = function (isRAxes) {
27
27
  var _b = useState({
28
28
  linescale: {},
29
29
  }), defaultOptions = _b[0], setDefaultOptions = _b[1];
30
- function checkDarkMode() {
31
- if (!document)
32
- return null;
33
- return document.body.classList.contains('dark');
34
- }
35
30
  useEffect(function () {
36
31
  var _a, _b;
37
32
  setIsDarkMode((_a = document === null || document === void 0 ? void 0 : document.body) === null || _a === void 0 ? void 0 : _a.classList.contains('dark'));