Fix imports

This commit is contained in:
Paulo Gustavo Veiga 2021-02-16 11:30:18 -08:00
parent 16d11f41ce
commit 5e309a5cc6
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,5 @@
import { withStyles } from "@material-ui/core/styles"; import withStyles from "@material-ui/core/styles/withStyles";
import { Alert } from "@material-ui/lab"; import Alert from "@material-ui/lab/Alert";
export const StyledAlert = withStyles({ export const StyledAlert = withStyles({
root: root:

View File

@ -1,4 +1,3 @@
import { Alert, AlertTitle } from "@material-ui/lab";
import React from "react"; import React from "react";
import { FormattedMessage, useIntl } from "react-intl"; import { FormattedMessage, useIntl } from "react-intl";
import { useMutation, useQueryClient } from "react-query"; import { useMutation, useQueryClient } from "react-query";
@ -7,6 +6,8 @@ import Client from "../../../../classes/client";
import { activeInstance, fetchMapById } from '../../../../redux/clientSlice'; import { activeInstance, fetchMapById } from '../../../../redux/clientSlice';
import { SimpleDialogProps, handleOnMutationSuccess } from ".."; import { SimpleDialogProps, handleOnMutationSuccess } from "..";
import BaseDialog from "../base-dialog"; import BaseDialog from "../base-dialog";
import Alert from "@material-ui/lab/Alert";
import AlertTitle from "@material-ui/lab/AlertTitle";
const DeleteDialog = ({ mapId, onClose } : SimpleDialogProps) => { const DeleteDialog = ({ mapId, onClose } : SimpleDialogProps) => {

View File

@ -16,7 +16,7 @@ const theme = createMuiTheme({
fontSize: '14px', fontSize: '14px',
'& fieldset': { '& fieldset': {
border: 'solid 1px #ffcb66', border: 'solid 1px #ffcb66',
}, },
'&:hover:not($disabled):not($focused):not($error) $notchedOutline': { '&:hover:not($disabled):not($focused):not($error) $notchedOutline': {
borderColor: '#f9a826', borderColor: '#f9a826',
} }