Skip to content

Commit

Permalink
refactor: 删除无关代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinbao1001 committed May 22, 2024
1 parent e03aa91 commit 1a403fe
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion examples/ant-design-pro/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ export default defineConfig({
ignoreMomentLocale: true,
// @ts-ignore
proxy: proxy[REACT_APP_ENV || 'dev'],
// mako: false,
manifest: {
basePath: '/',
},
Expand Down
2 changes: 0 additions & 2 deletions examples/ssr-demo/.umirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ export default {
scripts: [`https://a.com/b.js`],
ssr: {
builder: 'mako',
renderFromRoot: false,
__SPECIAL_HTML_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: false,
},
// exportStatic: {},
styles: [`body { color: red; }`, `https://a.com/b.css`],
Expand Down
2 changes: 1 addition & 1 deletion examples/ssr-demo/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default function HomePage() {
);
}

export const clientLoader: ClientLoader = async ({ serverLoader }) => {
export const clientLoader: ClientLoader = async ({}) => {
await new Promise((resolve) => setTimeout(resolve, Math.random() * 1000));
return { clientMessage: 'data from client loader of index.tsx' };
};
Expand Down

0 comments on commit 1a403fe

Please sign in to comment.