Skip to content

Commit

Permalink
fix to make prettier happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mac2000 committed Jan 1, 2025
1 parent 899ca93 commit cbe278b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/GraphViewport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@ export default class GraphViewport extends Component<
this._containerRef.current!,
onSelectNode,
onSelectEdge,
{ mouseWheelZoomEnabled: this.props.disableMouseWheelZoom ? false : true },
{
mouseWheelZoomEnabled: this.props.disableMouseWheelZoom
? false
: true,
},
);
this.setState({ svgViewport });
})
Expand Down

0 comments on commit cbe278b

Please sign in to comment.