Browse Source

refactor(app): Update the comments for the getInitialState function

- Replace the plugin documentation link with the official documentation link
- Optimize code formatting and remove unnecessary spaces
pull/11408/head
wudi 1 year ago
parent
commit
9bec44b374
  1. 2
      src/app.tsx

2
src/app.tsx

@ -13,7 +13,7 @@ const isDev = process.env.NODE_ENV === 'development';
const loginPath = '/user/login';
/**
* @see https://umijs.org/zh-CN/plugins/plugin-initial-state
* @see https://umijs.org/docs/api/runtime-config#getinitialstate
* */
export async function getInitialState(): Promise<{
settings?: Partial<LayoutSettings>;

Loading…
Cancel
Save