remove unneccessary buttons
This commit is contained in:
parent
a2682f4f05
commit
e272894918
BIN
prisma/dev.db
BIN
prisma/dev.db
Binary file not shown.
|
@ -42,18 +42,14 @@ export const TextInputCell = (props: CellContext<any, any>) => {
|
||||||
className="w-full h-fit flex items-center justify-center"
|
className="w-full h-fit flex items-center justify-center"
|
||||||
>
|
>
|
||||||
{isActive ?
|
{isActive ?
|
||||||
<div className="flex flex-col">
|
|
||||||
<Input
|
<Input
|
||||||
value={value}
|
value={value}
|
||||||
onChange={e => setValue(e.target.value)} // onBlur={handleClose}
|
onChange={e => setValue(e.target.value)} // onBlur={handleClose}
|
||||||
autoFocus={true}
|
autoFocus={true}
|
||||||
|
onBlur={handleClose}
|
||||||
onKeyDown={handleKeyDown}
|
onKeyDown={handleKeyDown}
|
||||||
|
className="w-full"
|
||||||
/>
|
/>
|
||||||
<div className="flex flex-row justify-end gap-1 w-full pt-2">
|
|
||||||
<Button variant="outline" className="p-2 h-fit" onClick={handleConfirm}><Check size="1rem" /></Button>
|
|
||||||
<Button variant="outline" className="p-2 h-fit" onClick={handleClose}><CircleX size="1rem" /></Button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
: <p>{value}</p>
|
: <p>{value}</p>
|
||||||
}
|
}
|
||||||
</div>)
|
</div>)
|
||||||
|
|
Loading…
Reference in New Issue