Skip to content

Commit ba3c48a

Browse files
committed
fix: update imports & typescript deprecation
1 parent af81e95 commit ba3c48a

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

ui/src/layout/Navigation.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Divider from '@mui/material/Divider';
2-
import Drawer from '@mui/material/Drawer';
2+
import Drawer, {DrawerProps} from '@mui/material/Drawer';
33
import {Theme} from '@mui/material/styles';
44
import React from 'react';
55
import {Link} from 'react-router-dom';
@@ -14,7 +14,6 @@ import {
1414
Avatar,
1515
ListItemButton,
1616
} from '@mui/material';
17-
import {DrawerProps} from '@mui/material/Drawer/Drawer';
1817
import CloseIcon from '@mui/icons-material/Close';
1918
import {makeStyles} from 'tss-react/mui';
2019
import {useStores} from '../stores';

ui/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"sourceMap": true,
88
"allowJs": true,
99
"jsx": "react",
10-
"moduleResolution": "node",
10+
"moduleResolution": "bundler",
1111
"rootDir": "src",
1212
"forceConsistentCasingInFileNames": true,
1313
"noImplicitReturns": true,

0 commit comments

Comments
 (0)