@ -1,5 +1,5 @@
/**
* @see https://umijs.org/zh-CN/plugins/plugin-access
* @see https://umijs.org/docs/max/access#access
* */
export default function access(initialState: { currentUser?: API.CurrentUser } | undefined) {
const { currentUser } = initialState ?? {};