re-cast to any to ensure build

This commit is contained in:
karamvir
2023-08-17 15:38:02 -07:00
parent 71524b2073
commit 76d331ef03
+2 -2
View File
@@ -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)}
/>