Skip to content

Commit

Permalink
Changed condition
Browse files Browse the repository at this point in the history
  • Loading branch information
zaxovaiko committed Jun 18, 2024
1 parent 92cedc3 commit 3d2b25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/uniforms/__suites__/DateField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function testDateField(
theme?: 'antd';
} = {},
) {
const useISOFormat = theme === 'antd';
const useISOFormat = theme !== 'antd';

test('<DateField> - renders a input with correct id (inherited)', () => {
renderWithZod({
Expand Down

0 comments on commit 3d2b25f

Please sign in to comment.