Skip to content

Commit 8488515

Browse files
committed
1 parent 2dca8ba commit 8488515

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

src/Main.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { useSelector } from 'react-redux';
22

33
import Container from '@mui/material/Container';
44
import Box from '@mui/material/Box';
5-
import Grid from '@mui/material/Grid2';
5+
import Grid from '@mui/material/Grid';
66

77
import AppBar from './features/appbar/AppBar';
88
import ConfigManager from './features/config/ConfigManager';

src/features/schema/fields/location/InputSlider.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// Largely based on https://mui.com/material-ui/react-slider/#InputSlider.js
22
import { styled } from '@mui/material/styles';
33
import Box from '@mui/material/Box';
4-
import Grid from '@mui/material/Grid2';
4+
import Grid from '@mui/material/Grid';
55
import Slider from '@mui/material/Slider';
66
import MuiInput from '@mui/material/Input';
77

88
const Input = styled(MuiInput)`
99
width: 80px;
1010
`;
1111

12-
export default function InputSlider({ min, max, step, value, onChange}) {
12+
export default function InputSlider({ min, max, step, value, onChange }) {
1313
const handleSliderChange = (event, newValue) => {
1414
onChange({ ...event, target: { ...event.target, value: newValue } });
1515
};
@@ -52,9 +52,9 @@ export default function InputSlider({ min, max, step, value, onChange}) {
5252
onChange={handleInputChange}
5353
onBlur={handleBlur}
5454
inputProps={{
55-
step: {step},
56-
min: {min},
57-
max: {max},
55+
step: { step },
56+
min: { min },
57+
max: { max },
5858
type: 'number',
5959
'aria-labelledby': 'input-slider',
6060
}}

src/features/schema/fields/oauth2/OAuth2Handler.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useEffect } from 'react';
22
import CircularProgress from '@mui/material/CircularProgress';
3-
import Grid from '@mui/material/Grid2';
3+
import Grid from '@mui/material/Grid';
44

55

66
export default function OAuth2Handler() {

webpack.common.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module.exports = {
44
},
55
resolve: {
66
extensions: ['*', '.js', '.jsx'],
7+
conditionNames: ['mui-modern', '...'],
78
},
89
module: {
910
rules: [

0 commit comments

Comments
 (0)