Explorar o código

fix #716 Contact with dva / router coupling

jim %!s(int64=8) %!d(string=hai) anos
pai
achega
df93c6490f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/Authorized/AuthorizedRoute.js

+ 1 - 1
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 {