diff --git a/beta/src/components/MDX/Sandpack/CustomPreset.tsx b/beta/src/components/MDX/Sandpack/CustomPreset.tsx index 15ccb4de..bb0f1c67 100644 --- a/beta/src/components/MDX/Sandpack/CustomPreset.tsx +++ b/beta/src/components/MDX/Sandpack/CustomPreset.tsx @@ -21,7 +21,7 @@ import {CustomTheme} from './Themes'; import {useSandpackLint} from './useSandpackLint'; // Workaround for https://github.com/reactjs/reactjs.org/issues/4686#issuecomment-1137402613. -const emptyArray = []; +const emptyArray: Array = []; export function CustomPreset({ isSingleFile,