forked from Shiloh/remnantchat
refactor(imports): use default MUI component imports
This commit is contained in:
parent
1370b9d197
commit
b82e339f86
@ -1,7 +1,7 @@
|
|||||||
import { useContext, useEffect, useRef, useState } from 'react'
|
import { useContext, useEffect, useRef, useState } from 'react'
|
||||||
import { TorrentFile } from 'webtorrent'
|
import { TorrentFile } from 'webtorrent'
|
||||||
import CircularProgress from '@mui/material/CircularProgress'
|
import CircularProgress from '@mui/material/CircularProgress'
|
||||||
import { Typography } from '@mui/material'
|
import Typography from '@mui/material/Typography'
|
||||||
|
|
||||||
import { fileTransfer } from 'services/FileTransfer'
|
import { fileTransfer } from 'services/FileTransfer'
|
||||||
import { ShellContext } from 'contexts/ShellContext'
|
import { ShellContext } from 'contexts/ShellContext'
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import { useContext } from 'react'
|
import { useContext } from 'react'
|
||||||
|
|
||||||
|
import Box from '@mui/material/Box'
|
||||||
import Fab from '@mui/material/Fab'
|
import Fab from '@mui/material/Fab'
|
||||||
import Tooltip from '@mui/material/Tooltip'
|
import Tooltip from '@mui/material/Tooltip'
|
||||||
import { ExpandLess } from '@mui/icons-material'
|
import { ExpandLess } from '@mui/icons-material'
|
||||||
import { Box } from '@mui/material'
|
|
||||||
|
|
||||||
import { ShellContext } from 'contexts/ShellContext'
|
import { ShellContext } from 'contexts/ShellContext'
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
import { useContext } from 'react'
|
import { useContext } from 'react'
|
||||||
|
|
||||||
import Tooltip from '@mui/material/Tooltip'
|
import Tooltip from '@mui/material/Tooltip'
|
||||||
|
import Badge from '@mui/material/Badge'
|
||||||
|
import Box from '@mui/material/Box'
|
||||||
import { Comment, CommentsDisabled } from '@mui/icons-material'
|
import { Comment, CommentsDisabled } from '@mui/icons-material'
|
||||||
import { Badge, Box } from '@mui/material'
|
|
||||||
|
|
||||||
import { RoomContext } from 'contexts/RoomContext'
|
import { RoomContext } from 'contexts/RoomContext'
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import Box from '@mui/material/Box'
|
|
||||||
import { Typography } from '@mui/material'
|
|
||||||
import { useContext } from 'react'
|
import { useContext } from 'react'
|
||||||
|
import Box from '@mui/material/Box'
|
||||||
|
import Typography from '@mui/material/Typography'
|
||||||
import { ShellContext } from 'contexts/ShellContext'
|
import { ShellContext } from 'contexts/ShellContext'
|
||||||
import {
|
import {
|
||||||
PeerNameDisplay,
|
PeerNameDisplay,
|
||||||
|
@ -3,7 +3,7 @@ import ListItemText from '@mui/material/ListItemText'
|
|||||||
import SyncAltIcon from '@mui/icons-material/SyncAlt'
|
import SyncAltIcon from '@mui/icons-material/SyncAlt'
|
||||||
import NetworkPingIcon from '@mui/icons-material/NetworkPing'
|
import NetworkPingIcon from '@mui/icons-material/NetworkPing'
|
||||||
import ListItem from '@mui/material/ListItem'
|
import ListItem from '@mui/material/ListItem'
|
||||||
import { Tooltip } from '@mui/material'
|
import Tooltip from '@mui/material/Tooltip'
|
||||||
|
|
||||||
import { AudioVolume } from 'components/AudioVolume'
|
import { AudioVolume } from 'components/AudioVolume'
|
||||||
import { PeerNameDisplay } from 'components/PeerNameDisplay'
|
import { PeerNameDisplay } from 'components/PeerNameDisplay'
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
import {
|
import Button from '@mui/material/Button'
|
||||||
Button,
|
import Dialog from '@mui/material/Dialog'
|
||||||
Dialog,
|
import DialogActions from '@mui/material/DialogActions'
|
||||||
DialogActions,
|
import DialogContent from '@mui/material/DialogContent'
|
||||||
DialogContent,
|
import DialogTitle from '@mui/material/DialogTitle'
|
||||||
DialogTitle,
|
import IconButton from '@mui/material/IconButton'
|
||||||
IconButton,
|
|
||||||
} from '@mui/material'
|
|
||||||
import React from 'react'
|
|
||||||
import CloseIcon from '@mui/icons-material/Close'
|
import CloseIcon from '@mui/icons-material/Close'
|
||||||
import { QRCode } from 'react-qrcode-logo'
|
import { QRCode } from 'react-qrcode-logo'
|
||||||
|
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
import {
|
import Alert, { AlertColor } from '@mui/material/Alert'
|
||||||
Alert,
|
import Button from '@mui/material/Button'
|
||||||
AlertColor,
|
import Checkbox from '@mui/material/Checkbox'
|
||||||
Button,
|
import Dialog from '@mui/material/Dialog'
|
||||||
Checkbox,
|
import DialogActions from '@mui/material/DialogActions'
|
||||||
Dialog,
|
import DialogContent from '@mui/material/DialogContent'
|
||||||
DialogActions,
|
import DialogContentText from '@mui/material/DialogContentText'
|
||||||
DialogContent,
|
import DialogTitle from '@mui/material/DialogTitle'
|
||||||
DialogContentText,
|
import IconButton from '@mui/material/IconButton'
|
||||||
DialogTitle,
|
import FormControlLabel from '@mui/material/FormControlLabel'
|
||||||
IconButton,
|
import TextField from '@mui/material/TextField'
|
||||||
FormControlLabel,
|
import Tooltip from '@mui/material/Tooltip'
|
||||||
TextField,
|
|
||||||
Tooltip,
|
|
||||||
} from '@mui/material'
|
|
||||||
import CloseIcon from '@mui/icons-material/Close'
|
import CloseIcon from '@mui/icons-material/Close'
|
||||||
|
|
||||||
import { AlertOptions } from 'models/shell'
|
import { AlertOptions } from 'models/shell'
|
||||||
|
Loading…
Reference in New Issue
Block a user