Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Col0ring committed Nov 13, 2024
1 parent fef6be9 commit cb46a35
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions frontend/antd/input/input.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { sveltify } from '@svelte-preprocess-react';
import { ReactSlot } from '@svelte-preprocess-react/react-slot';
import type { SetSlotParams } from '@svelte-preprocess-react/slot';
import { useEffect, useMemo, useState } from 'react';
import { useMemo } from 'react';
import { useFunction } from '@utils/hooks/useFunction';
import { useValueChange } from '@utils/hooks/useValueChange';
import { omitUndefinedProps } from '@utils/omitUndefinedProps';
Expand Down Expand Up @@ -62,7 +62,7 @@ export const Input = sveltify<
slots,
setSlotParams,
key: 'showCount.formatter',
}),
})!,
}
: typeof showCount === 'object' && showCountFunction
? {
Expand Down
2 changes: 1 addition & 1 deletion frontend/antd/input/password/input.password.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const InputPassword = sveltify<
slots,
setSlotParams,
key: 'showCount.formatter',
}),
})!,
}
: typeof showCount === 'object' && showCountFunction
? {
Expand Down
2 changes: 1 addition & 1 deletion frontend/antd/input/search/input.search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const InputSearch = sveltify<
slots,
setSlotParams,
key: 'showCount.formatter',
}),
})!,
}
: typeof showCount === 'object' && showCountFunction
? {
Expand Down
2 changes: 1 addition & 1 deletion frontend/antd/input/textarea/input.textarea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const InputTextarea = sveltify<
slots,
setSlotParams,
key: 'showCount.formatter',
}),
})!,
}
: typeof showCount === 'object' && showCountFunction
? {
Expand Down

0 comments on commit cb46a35

Please sign in to comment.