From 52f559a3845c7a4851fd226a285cc0ab9e6bdf70 Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Wed, 3 Jun 2020 18:20:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/users/Infos.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/forge/users/Infos.js b/src/forge/users/Infos.js index ac5d1048..9b5009f5 100644 --- a/src/forge/users/Infos.js +++ b/src/forge/users/Infos.js @@ -93,6 +93,9 @@ class Infos extends Component { undo_link = () => { const {user} = this.state + this.setState({ + route_type: undefined + }) this.props.history.push(`/users/${user && user.login}/undo_events`) } @@ -104,6 +107,9 @@ class Infos extends Component { organize_link = () => { const {user} = this.state + this.setState({ + route_type: undefined + }) this.props.history.push(`/users/${user && user.login}/organizes`) }