Browse Source
update: access statements updated to valid document links (#11116)
pull/11120/head
fankaiLiu
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/access.ts
|
|
|
@ -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 ?? {}; |
|
|
|
|