Skip to content

Commit

Permalink
Merge pull request #4074 from kopax/patch-1
Browse files Browse the repository at this point in the history
fix(TabbedForm): organize import
  • Loading branch information
fzaninotto authored Nov 28, 2019
2 parents 8c54829 + 92dfad8 commit 2f46864
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/ra-ui-materialui/src/form/TabbedForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 },
Expand Down

0 comments on commit 2f46864

Please sign in to comment.