mirror of
https://github.com/idanoo/autobrr
synced 2025-07-25 09:49:13 +00:00
fix: update web deps and fix imports (#38)
This commit is contained in:
parent
c7b61d803e
commit
506cef6f0f
4 changed files with 2668 additions and 2530 deletions
|
@ -24,7 +24,7 @@ const NumberFieldWide: React.FC<Props> = ({
|
|||
hidden,
|
||||
className,
|
||||
}) => (
|
||||
<div className="space-y-1 px-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:py-5">
|
||||
<div className="px-4 space-y-1 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:py-5">
|
||||
<div>
|
||||
<label
|
||||
htmlFor={name}
|
||||
|
@ -37,7 +37,7 @@ const NumberFieldWide: React.FC<Props> = ({
|
|||
<Field
|
||||
name={name}
|
||||
defaultValue={defaultValue}
|
||||
parse={(v) => v & parseInt(v, 10)}
|
||||
parse={(v: any) => v & parseInt(v, 10)}
|
||||
render={({ input, meta }) => (
|
||||
<input
|
||||
{...input}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue