Skip to content

Commit b158c58

Browse files
committed
backup
1 parent e6b70eb commit b158c58

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/workflow-editor/nodes/NodeTitle.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { CloseButton } from "./CloseButton";
55
import { INodeMaterial } from "../interfaces/material";
66
import { useEditorEngine } from "../hooks";
77

8-
export const NodeTitleSchell = styled.div`
8+
export const NodeTitleShell = styled.div`
99
position: relative;
1010
display: flex;
1111
align-items: center;
@@ -101,7 +101,7 @@ export const NodeTitle = memo((props: {
101101
setInputValue(e.target.value)
102102
}, [])
103103

104-
return <NodeTitleSchell className="node-title" style={{ backgroundColor: material?.color, color: "#fff" }}>
104+
return <NodeTitleShell className="node-title" style={{ backgroundColor: material?.color, color: "#fff" }}>
105105
<NodeIcon>
106106
{material?.icon}
107107
</NodeIcon>
@@ -123,5 +123,5 @@ export const NodeTitle = memo((props: {
123123
onChange={handleChange}
124124
/>
125125
}
126-
</NodeTitleSchell>
126+
</NodeTitleShell>
127127
})

src/workflow-editor/nodes/StartNode.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ChildNode } from "./ChildNode"
77
import { NodeWrap, NodeWrapBox, NodeContent } from "./NormalNode"
88
import { EndNode } from "./EndNode"
99
import { useEditorEngine } from "../hooks"
10-
import { NodeTitleSchell } from "./NodeTitle"
10+
import { NodeTitleShell } from "./NodeTitle"
1111
import { useNodeMaterial } from "../hooks/useNodeMaterial"
1212
import { useMaterialUI } from "../hooks/useMaterialUI"
1313
import { ErrorTip } from "./ErrorTip"
@@ -25,9 +25,9 @@ export const StartNode = memo(() => {
2525
return (
2626
<NodeWrap className="node-wrap start">
2727
<NodeWrapBox className="node-wrap-box" onClick={handleClick}>
28-
<NodeTitleSchell className="node-title start-node-title" style={{ backgroundColor: material?.color }}>
28+
<NodeTitleShell className="node-title start-node-title" style={{ backgroundColor: material?.color }}>
2929
{t(material?.label || "")}
30-
</NodeTitleSchell>
30+
</NodeTitleShell>
3131
<NodeContent className="content">
3232
{materialUi?.viewContent && materialUi?.viewContent(startNode, { t })}
3333
<RightOutlined className="arrow" />

0 commit comments

Comments
 (0)