feat: feature/mvp-sprint-1 Changed seedling input to onKeyDown

This commit is contained in:
Nikolaj Frey 2023-08-14 20:23:01 +10:00
parent 186fb42693
commit a15434052f

View File

@ -695,7 +695,7 @@ export const Thingtime = (props) => {
transition="all 0.2s ease-out" transition="all 0.2s ease-out"
outline="none !important" outline="none !important"
onClick={addNewChild} onClick={addNewChild}
onKeyUp={(e) => { onKeyDown={(e) => {
if (e?.key === "Enter") { if (e?.key === "Enter") {
addNewChild() addNewChild()
} }