Make MUIv4 not optional

- Fix smaller v5 errors in GraphQL Plugin

Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
Philipp Hugenroth
2023-04-26 19:39:00 +02:00
parent d65e6a5423
commit c36f7b9449
6 changed files with 108 additions and 79 deletions
+1 -1
View File
@@ -37,7 +37,7 @@
"@backstage/theme": "workspace:^",
"@mui/icons-material": "^5.11.0",
"@mui/lab": "5.0.0-alpha.114",
"@mui/material": "^5.11.2",
"@mui/material": "^5.12.2",
"@mui/styles": "^5.11.2",
"graphiql": "^1.5.12",
"graphql": "^16.0.0",
@@ -69,15 +69,11 @@ export const GraphiQLBrowser = (props: GraphiQLBrowserProps) => {
classes={{ root: classes.tabs }}
value={tabIndex}
onChange={(_, value) => setTabIndex(value)}
indicatorColor="secondary"
textColor="inherit"
>
{endpoints.map(({ title }, index) => (
<Tab
key={index}
label={title}
value={index}
sx={{ color: 'inherit' }}
/>
<Tab key={index} label={title} sx={{ color: 'inherit' }} />
))}
</Tabs>
<Divider />