feat: implement logout on 401 response and update query handling
refactor: replace Button with div for consistent styling in AIEditorLink refactor: update navigation handling in AppVersionList and remove LayoutMain wrapper refactor: remove unused LayoutMain imports and components across various pages fix: ensure user app list is set correctly in useUserAppStore fix: update login URL format in AuthProvider fix: adjust layout styles in EnvPage and other pages for better responsiveness chore: update route definitions and create new routes for apps, config, domain, flowme, org, remote, token, user, and users style: replace Button with div for delete confirmation in various components fix: ensure correct handling of user profile image source
This commit is contained in:
@@ -20,7 +20,6 @@ import {
|
||||
CardHeader,
|
||||
CardTitle,
|
||||
} from '@/components/ui/card';
|
||||
import { LayoutMain } from '@/modules/layout';
|
||||
import { Pencil, Key, User } from 'lucide-react';
|
||||
import PandaPNG from '@/assets/panda.jpg';
|
||||
|
||||
@@ -53,7 +52,7 @@ const ProfileCard = () => {
|
||||
/>
|
||||
) : (
|
||||
<img
|
||||
src={PandaPNG.src}
|
||||
src={PandaPNG}
|
||||
alt="avatar"
|
||||
className="w-full h-full object-cover"
|
||||
/>
|
||||
@@ -287,6 +286,4 @@ export const UserProfile = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default () => {
|
||||
return <LayoutMain title="个人信息"><UserProfile /></LayoutMain>;
|
||||
}
|
||||
export default UserProfile
|
||||
|
||||
Reference in New Issue
Block a user