Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💚 chore: format code #8934

Merged
merged 3 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"@umijs/test": "^3.5.43",
"@umijs/test-utils": "^3.5.43",
"@umijs/utils": "^4.4.1",
"@vitest/coverage-istanbul": "^0.34.6",
"@vitest/coverage-istanbul": "^2.1.8",
"animated-scroll-to": "^2.3.0",
"antd": "^5.22.5",
"antd-style": "^3.7.1",
Expand Down
6 changes: 5 additions & 1 deletion packages/form/src/components/Select/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { runFunction } from '@ant-design/pro-utils';
import type { SelectProps } from 'antd';
import type { BaseOptionType, DefaultOptionType, RefSelectProps } from 'antd/lib/select';
import type {
BaseOptionType,
DefaultOptionType,
RefSelectProps,
} from 'antd/lib/select';
import React, { useContext } from 'react';
import FieldContext from '../../FieldContext';
import type {
Expand Down
10 changes: 4 additions & 6 deletions packages/layout/src/demos/customSider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,10 @@ export default () => {
</div>,
];
}}
menuRender={(props, defaultDom) => (
<>
{console.log('defaultDom', defaultDom)}
{defaultDom}
</>
)}
menuRender={(props, defaultDom) => {
console.log('defaultDom', defaultDom);
return defaultDom;
}}
menuItemRender={(item, dom) => (
<div
onClick={() => {
Expand Down
4 changes: 2 additions & 2 deletions packages/provider/src/useStyle/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ export function useStyle(
nonce: csp?.nonce,
layer: {
name: 'antd-pro',
dependencies: ['antd']
}
dependencies: ['antd'],
},
},
() => styleFn(token as ProAliasToken),
),
Expand Down
Loading
Loading