Removed key and autofocus
This commit is contained in:
parent
e12b1fd522
commit
775bcee035
2 changed files with 1 additions and 2 deletions
|
|
@ -188,7 +188,6 @@ export default function GenericNode({
|
||||||
{data.node?.flow && inputName ? (
|
{data.node?.flow && inputName ? (
|
||||||
<div>
|
<div>
|
||||||
<InputComponent
|
<InputComponent
|
||||||
autoFocus
|
|
||||||
onBlur={() => {
|
onBlur={() => {
|
||||||
setInputName(false);
|
setInputName(false);
|
||||||
if (nodeName.trim() !== "") {
|
if (nodeName.trim() !== "") {
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ export default function FlowPage(): JSX.Element {
|
||||||
{flows.length > 0 &&
|
{flows.length > 0 &&
|
||||||
tabId !== "" &&
|
tabId !== "" &&
|
||||||
flows.findIndex((flow) => flow.id === tabId) !== -1 && (
|
flows.findIndex((flow) => flow.id === tabId) !== -1 && (
|
||||||
<Page key={id} flow={flows.find((flow) => flow.id === tabId)!} />
|
<Page flow={flows.find((flow) => flow.id === tabId)!} />
|
||||||
)}
|
)}
|
||||||
<a
|
<a
|
||||||
target={"_blank"}
|
target={"_blank"}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue