Commit 6d7abf3b by zhanghaozhe

test

parent 4ea4cf6c
...@@ -209,8 +209,7 @@ module.exports = function(webpackEnv) { ...@@ -209,8 +209,7 @@ module.exports = function(webpackEnv) {
// https://github.com/facebook/create-react-app/issues/5250 // https://github.com/facebook/create-react-app/issues/5250
// Pending futher investigation: // Pending futher investigation:
// https://github.com/terser-js/terser/issues/120 // https://github.com/terser-js/terser/issues/120
inline: 2, inline: 2
drop_debugger: false
}, },
mangle: { mangle: {
safari10: true, safari10: true,
......
...@@ -11,10 +11,6 @@ function RouteMiddlePage(props) { ...@@ -11,10 +11,6 @@ function RouteMiddlePage(props) {
useEffect(() => { useEffect(() => {
let {user, location, history} = props let {user, location, history} = props
/*if (history.action === 'POP' && history.length > 2) {
history.goBack();
return
}*/
if (!user.isFetching) { if (!user.isFetching) {
if (user.hasError) { if (user.hasError) {
......
Markdown is supported
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