Merge branch 'main' of https://git.valuefrontier.cn/vf/vf_react
修改/api/auth/register/phone
This commit is contained in:
@@ -45,7 +45,7 @@ import { useAuth } from '../../contexts/AuthContext';
|
|||||||
const NavItems = ({ isAuthenticated, user }) => {
|
const NavItems = ({ isAuthenticated, user }) => {
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
|
||||||
if (isAuthenticated && user) {
|
if (!isAuthenticated && !user) {
|
||||||
return (
|
return (
|
||||||
<HStack spacing={8}>
|
<HStack spacing={8}>
|
||||||
<Menu>
|
<Menu>
|
||||||
|
|||||||
Reference in New Issue
Block a user