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"
|
||||
>
|
||||
{isActive ?
|
||||
<div className="flex flex-col">
|
||||
<Input
|
||||
value={value}
|
||||
onChange={e => setValue(e.target.value)} // onBlur={handleClose}
|
||||
autoFocus={true}
|
||||
onBlur={handleClose}
|
||||
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>
|
||||
}
|
||||
</div>)
|
||||
|
|
Loading…
Reference in New Issue