chore: fix index.ts path

Signed-off-by: Rajib Quayum <rajibq@users.noreply.github.com>
This commit is contained in:
Rajib Quayum
2026-02-27 13:01:58 -05:00
parent f738d47c35
commit 8ac301afc1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ This addresses the problem where the elements contain the `v5-` prefix for MUI c
Import should be made as follows to ensure the prefix problem is addressed correctly:
```diff
// packages/app/index.ts
// packages/app/src/index.ts
+ import '@backstage/theme/MuiClassNameSetup'; // must be the very first import!
import '@backstage/cli/asset-types';
@@ -21,7 +21,7 @@ import { unstable_ClassNameGenerator as ClassNameGenerator } from '@mui/material
* This needs to be configured before any MUI 5 component can possibly be imported. See: https://v5.mui.com/material-ui/experimental-api/classname-generator/#caveat
*
* ```diff
* // packages/app/index.ts
* // packages/app/src/index.ts
*
* + import '@backstage/theme/MuiClassNameSetup'; // must be the very first import!
* import '@backstage/cli/asset-types';