@@ -23,7 +23,7 @@ const Vmp: React.FC = () => {
if (login2p.jwt) {
login2p.getUserDetail()
}
- }, [])
+ }, [login2p.jwt])
return (
<Switch>
<Route