mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 09:28:04 +08:00
fix web style
This commit is contained in:
@ -22,9 +22,10 @@ export const useReplaceDataSourceNode = (id: string) => {
|
||||
|
||||
if (emptyNodeIndex < 0)
|
||||
return
|
||||
const {
|
||||
defaultValue,
|
||||
} = nodesMetaDataMap![type]
|
||||
const nodeMetaData = nodesMetaDataMap?.[type]
|
||||
if (!nodeMetaData)
|
||||
return
|
||||
const { defaultValue } = nodeMetaData
|
||||
const emptyNode = nodes[emptyNodeIndex]
|
||||
const { newNode } = generateNewNode({
|
||||
data: {
|
||||
|
||||
Reference in New Issue
Block a user