Skip to content

Commit

Permalink
style: delete repeated Select component
Browse files Browse the repository at this point in the history
  • Loading branch information
谨欣 committed Aug 19, 2024
1 parent d47ecec commit a731233
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/components/flow/node-param-handler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ const NodeParamHandler: React.FC<NodeParamHandlerProps> = ({ node, data, label,
return <RenderRadio {...props} />;
case 'input':
return <RenderInput {...props} />;
case 'select':
return <RenderSelect {...props} />;
case 'text_area':
return <RenderTextArea {...props} />;
case 'slider':
Expand All @@ -146,6 +144,8 @@ const NodeParamHandler: React.FC<NodeParamHandlerProps> = ({ node, data, label,
return <RenderPassword {...props} />;
case 'upload':
return <RenderUpload {...props} />;
case 'variables':
return <RenderVariables {...props} />;
case 'code_editor':
return <RenderCodeEditor {...props} />;
default:
Expand Down

0 comments on commit a731233

Please sign in to comment.