Skip to content

Commit

Permalink
Simplify input
Browse files Browse the repository at this point in the history
Signed-off-by: cs-308-2023 <[email protected]>
  • Loading branch information
ADI-ROXX committed Jan 27, 2025
1 parent cbd2c7f commit 5eed53d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/plexus/src/zoom/MiniMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ function getViewTransform(props: TProps, displaySize: { width: number; height: n
};
}

function getClassNames(props: { className: string; classNamePrefix: string }) {
const { className, classNamePrefix } = props;
function getClassNames(className: string, classNamePrefix: string ) {
const base = `${classNamePrefix}-MiniMap`;
return {
root: `${base} ${className}`,
Expand Down

0 comments on commit 5eed53d

Please sign in to comment.