update pay function
This commit is contained in:
@@ -22,6 +22,13 @@ const MCPLayout = ({ children }: Props) => {
|
||||
const [visibleSidebar, setVisibleSidebar] = useState(false);
|
||||
const { user, isAuthenticated, canAccessChat, loading: authLoading } = useAuth();
|
||||
|
||||
console.log('[MCPLayout] Auth state:', {
|
||||
user,
|
||||
isAuthenticated,
|
||||
canAccessChat,
|
||||
authLoading
|
||||
});
|
||||
|
||||
// 权限检查
|
||||
if (authLoading) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user