Skip to content
Snippets Groups Projects
Commit e8ae27ff authored by Alf Eaton's avatar Alf Eaton
Browse files

Upgrade to react-router v4

* Import from react-router-dom
* Use withRouter
* Remove react-router-redux
* Replace AuthenticatedPage with PrivateRoute
parent 26b3be95
No related branches found
No related tags found
No related merge requests found
import React from 'react' import React from 'react'
import { Link } from 'react-router' import { Link } from 'react-router-dom'
import classnames from 'classnames' import classnames from 'classnames'
import classes from './AppBar.local.scss' import classes from './AppBar.local.scss'
import Icon from '../atoms/Icon' import Icon from '../atoms/Icon'
......
import React from 'react' import React from 'react'
import { clone } from 'lodash' import { clone } from 'lodash'
import { shallow } from 'enzyme' import { shallow } from 'enzyme'
import { Link } from 'react-router' import { Link } from 'react-router-dom'
import renderer from 'react-test-renderer' import renderer from 'react-test-renderer'
import AppBar from '../src/molecules/AppBar' import AppBar from '../src/molecules/AppBar'
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment