Closed NielXu closed 3 years ago
Protect routes
A user must login before accessing the routes mentioned above and their userId will be stored in localStorage. Get it by following:
const userId = localStorage.getItem("userId");
@XianghuDai @archie-lhd @JialeYuLeo @ZhenyeZhu
PR Summary
Protect routes
A user must login before accessing the routes mentioned above and their userId will be stored in localStorage. Get it by following:
@XianghuDai @archie-lhd @JialeYuLeo @ZhenyeZhu