Fix imports

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

View File

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

View File

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

View File

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