Skip to content

Commit 849e5b3

Browse files
committed
2219: Fix import
1 parent d20cd81 commit 849e5b3

9 files changed

Lines changed: 18 additions & 9 deletions

File tree

factsheet/frontend/src/components/customAutocomplete.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ import {
1212
DialogActions,
1313
Button
1414
} from '@mui/material';
15-
import { styled } from '@mui/material/styles';
15+
import styled from '@mui/material/styles/styled';
16+
1617
import { createFilterOptions } from '@mui/material/Autocomplete';
1718
import CheckBoxOutlineBlankIcon from '@mui/icons-material/CheckBoxOutlineBlank';
1819
import CheckBoxIcon from '@mui/icons-material/CheckBox';

factsheet/frontend/src/components/customAutocompleteWithoutAddNew.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import {
88
Chip,
99
Typography
1010
} from '@mui/material';
11-
import { styled } from '@mui/material/styles';
11+
import styled from '@mui/material/styles/styled';
12+
1213
import { createFilterOptions } from '@mui/material/Autocomplete';
1314
import CheckBoxOutlineBlankIcon from '@mui/icons-material/CheckBoxOutlineBlank';
1415
import CheckBoxIcon from '@mui/icons-material/CheckBox';

factsheet/frontend/src/components/customTabs.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// CustomTabs.tsx
22
import React, { useState } from 'react';
33
import { Box, Tabs, Tab, Typography } from '@mui/material';
4-
import { styled } from '@mui/material/styles';
4+
import styled from '@mui/material/styles/styled';
5+
56
import palette from '../styles/oep-theme/palette';
67
import variables from '../styles/oep-theme/variables';
78

factsheet/frontend/src/components/historyTable.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ import React, { PureComponent, Fragment, useState, useEffect } from "react";
1313
import conf from "../conf.json";
1414
import axios from "axios";
1515
import LinearProgress from '@mui/material/LinearProgress';
16-
// import { styled } from '@mui/material/styles';
16+
// import styled from '@mui/material/styles/styled';
17+
1718
// import TableCell, { tableCellClasses } from '@mui/material/TableCell';
1819

1920
import Box from '@mui/material/Box';

factsheet/frontend/src/components/scenarioBundle.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ import conf from "../conf.json";
4141
import { colors, Tooltip } from '@mui/material';
4242
import HtmlTooltip from '../styles/oep-theme/components/tooltipStyles'
4343
import HelpOutlineIcon from '@mui/icons-material/HelpOutline.js';
44-
import { styled } from '@mui/material/styles';
44+
import styled from '@mui/material/styles/styled';
45+
4546
import SaveIcon from '@mui/icons-material/Save.js';
4647
import uuid from "react-uuid";
4748
import Alert from '@mui/material/Alert';

factsheet/frontend/src/styles/oep-theme/components/breadcrumbsNavigation.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
// SPDX-License-Identifier: AGPL-3.0-or-later
55

66
import { Grid } from '@mui/material';
7-
import { styled } from '@mui/material/styles';
7+
import styled from '@mui/material/styles/styled';
8+
89
import Container from '@mui/material/Container';
910
import ListAltOutlinedIcon from '@mui/icons-material/ListAltOutlined';
1011
import palette from '../palette';

factsheet/frontend/src/styles/oep-theme/components/factsheetsStyles.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { styled } from '@mui/material/styles';
1+
import styled from '@mui/material/styles/styled';
2+
23
import Tab from '@mui/material/Tab';
34
import Box from '@mui/material/Box';
45

factsheet/frontend/src/styles/oep-theme/components/infoListItem.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
// SPDX-License-Identifier: AGPL-3.0-or-later
55

66
import { Grid } from '@mui/material';
7-
import { styled } from '@mui/material/styles';
7+
import styled from '@mui/material/styles/styled';
8+
89
import variables from '../variables';
910

1011
const InfoListItemContainer = styled(Grid)(({ theme }) => ({

factsheet/frontend/src/styles/style.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
//
55
// SPDX-License-Identifier: AGPL-3.0-or-later
66

7-
import { styled } from '@mui/material/styles';
7+
import styled from '@mui/material/styles/styled';
8+
89
import Button from '@mui/material/Button';
910

1011
import { purple } from '@mui/material/colors';

0 commit comments

Comments
 (0)