Feature/remove dependency mui system (#331)

* Remove duplicated dependency "@mui/system"

Already included in "@mui/material"

* Remove duplicated dependency "@mui/system" - Fix theme "custom" palette

Already included in "@mui/material"

* Remove duplicated dependency "@mui/system" - Fix imports

Already included in "@mui/material"
This commit is contained in:
schroda
2023-06-04 21:08:39 +02:00
committed by GitHub
parent 2a6950b015
commit 6911f60eb4
37 changed files with 48 additions and 121 deletions

View File

@@ -7,7 +7,7 @@
*/
import React from 'react';
import { Box, styled } from '@mui/system';
import { Box, styled } from '@mui/material';
import { IReaderSettings } from 'typings';
const Image = styled('img')({

View File

@@ -8,7 +8,7 @@
import React, { useRef } from 'react';
import SpinnerImage from 'components/util/SpinnerImage';
import Box from '@mui/system/Box';
import Box from '@mui/material/Box';
import { IReaderSettings } from 'typings';
function imageStyle(settings: IReaderSettings): any {

View File

@@ -7,7 +7,7 @@
*/
import React from 'react';
import { Box } from '@mui/system';
import { Box } from '@mui/material';
import { IReaderSettings } from 'typings';
interface IProps {

View File

@@ -8,7 +8,7 @@
import React, { useEffect, useRef } from 'react';
import ReactDOM from 'react-dom';
import { Box } from '@mui/system';
import { Box } from '@mui/material';
import Page from 'components/reader/Page';
import DoublePage from 'components/reader/DoublePage';
import { IReaderProps } from 'typings';

View File

@@ -7,7 +7,7 @@
*/
import React, { useEffect, useRef } from 'react';
import { Box } from '@mui/system';
import { Box } from '@mui/material';
import Page from 'components/reader/Page';
import { IReaderProps } from 'typings';

View File

@@ -7,7 +7,7 @@
*/
import React, { useEffect, useRef } from 'react';
import { Box } from '@mui/system';
import { Box } from '@mui/material';
import Page from 'components/reader/Page';
import { IReaderProps } from 'typings';

View File

@@ -7,7 +7,7 @@
*/
import React, { useCallback, useEffect, useRef } from 'react';
import { Box } from '@mui/system';
import { Box } from '@mui/material';
import Page from 'components/reader/Page';
import { IReaderProps } from 'typings';