Skip to content

Commit

Permalink
📝 fix: rm params (#49)
Browse files Browse the repository at this point in the history
Co-authored-by: jiangchu <[email protected]>
  • Loading branch information
ModestFun and jiangchu authored Dec 7, 2023
1 parent 3483b2b commit a8beb83
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions docs/caseShow/demos/pipelineDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ interface PipeNode {
des: string;
logo: string;
needSwitch?: boolean;
open?: boolean;
children?: PipeNodeChild[];
selectType?: SelectType;
}
Expand All @@ -36,16 +35,7 @@ const nodeHeight = 500;
export const PipeNode: FC<{
data: PipeNode;
}> = ({ data }) => {
const {
stepTitle,
title,
des,
logo,
needSwitch = false,
open = false,
children = [],
selectType,
} = data;
const { stepTitle, title, des, logo, needSwitch = false, children = [], selectType } = data;
const { styles } = useStyles();

return (
Expand Down

0 comments on commit a8beb83

Please sign in to comment.