mirror of
https://github.com/moghtech/komodo.git
synced 2026-07-24 14:10:02 -05:00
re-cast to any to ensure build
This commit is contained in:
@@ -102,13 +102,13 @@ export const DoubleInput = <
|
||||
{values?.map((value, i) => (
|
||||
<div className="flex items-center justify-between gap-4" key={i}>
|
||||
<Input
|
||||
value={value[leftval]}
|
||||
value={value[leftval] as any}
|
||||
placeholder={leftpl}
|
||||
onChange={(e) => onLeftChange(e.target.value as T[L], i)}
|
||||
/>
|
||||
:
|
||||
<Input
|
||||
value={value[rightval]}
|
||||
value={value[rightval] as any}
|
||||
placeholder={rightpl}
|
||||
onChange={(e) => onRightChange(e.target.value as T[R], i)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user