diff --git a/src/app.tsx b/src/app.tsx index 2aa0115..472c32e 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -1,4 +1,4 @@ -import { AvatarDropdown, AvatarName, Footer, Question } from '@/components'; +import { AvatarDropdown, AvatarName, PageFooter, Question } from '@/components'; import { currentUser as queryCurrentUser } from '@/services/ant-design-pro/api'; import { LinkOutlined } from '@ant-design/icons'; import type { Settings as LayoutSettings } from '@ant-design/pro-components'; @@ -57,10 +57,7 @@ export const layout: RunTimeLayoutConfig = ({ initialState, setInitialState }) = return {avatarChildren}; }, }, - waterMarkProps: { - content: initialState?.currentUser?.name, - }, - footerRender: () =>