From df93c6490fb332aafbf9141c2778afad254dfbc9 Mon Sep 17 00:00:00 2001 From: jim Date: Wed, 17 Jan 2018 08:31:11 +0800 Subject: [PATCH] fix #716 Contact with dva / router coupling --- src/components/Authorized/AuthorizedRoute.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Authorized/AuthorizedRoute.js b/src/components/Authorized/AuthorizedRoute.js index 09c98d60..3d03226a 100644 --- a/src/components/Authorized/AuthorizedRoute.js +++ b/src/components/Authorized/AuthorizedRoute.js @@ -1,5 +1,5 @@ import React from 'react'; -import { Route, Redirect } from 'dva/router'; +import { Route, Redirect } from 'react-router-dom'; import Authorized from './Authorized'; class AuthorizedRoute extends React.Component { -- GitLab