From 92dfad89ff7ef67300669c9362f2b015f2f0957e Mon Sep 17 00:00:00 2001 From: Dimitri KOPRIWA Date: Thu, 28 Nov 2019 16:20:14 +0100 Subject: [PATCH] fix(TabbedForm): organize import Unnecessary double import --- packages/ra-ui-materialui/src/form/TabbedForm.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/ra-ui-materialui/src/form/TabbedForm.js b/packages/ra-ui-materialui/src/form/TabbedForm.js index 5fab9d4a6e1..5eff1b704df 100644 --- a/packages/ra-ui-materialui/src/form/TabbedForm.js +++ b/packages/ra-ui-materialui/src/form/TabbedForm.js @@ -3,7 +3,7 @@ import PropTypes from 'prop-types'; import classnames from 'classnames'; import { Form } from 'react-final-form'; import arrayMutators from 'final-form-arrays'; -import { Route } from 'react-router-dom'; +import { Route, useRouteMatch, useLocation } from 'react-router-dom'; import Divider from '@material-ui/core/Divider'; import { makeStyles } from '@material-ui/core/styles'; import { @@ -17,7 +17,6 @@ import get from 'lodash/get'; import getFormInitialValues from './getFormInitialValues'; import Toolbar from './Toolbar'; import TabbedFormTabs, { getTabFullPath } from './TabbedFormTabs'; -import { useRouteMatch, useLocation } from 'react-router-dom'; const useStyles = makeStyles(theme => ({ errorTabButton: { color: theme.palette.error.main },