From 914f8d6f37d22530c8fa6ee77f68b7d587ea042d Mon Sep 17 00:00:00 2001 From: siriwatknp Date: Mon, 19 Feb 2024 14:14:22 +0700 Subject: [PATCH] add react import --- packages/mui-material/src/styles/getInitColorSchemeScript.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/mui-material/src/styles/getInitColorSchemeScript.ts b/packages/mui-material/src/styles/getInitColorSchemeScript.ts index d090ced8ce6b08..61e0557774b60d 100644 --- a/packages/mui-material/src/styles/getInitColorSchemeScript.ts +++ b/packages/mui-material/src/styles/getInitColorSchemeScript.ts @@ -1,3 +1,7 @@ +// do not remove the following import (https://github.com/microsoft/TypeScript/issues/29808#issuecomment-1320713018) +/* eslint-disable @typescript-eslint/no-unused-vars */ +// @ts-ignore +import * as React from 'react'; import { getInitColorSchemeScript as systemGetInitColorSchemeScript } from '@mui/system/cssVars'; const ATTRIBUTE = 'data-mui-color-scheme';