From 5eed53def2fdf3d81f0c69a2d1f885141e666771 Mon Sep 17 00:00:00 2001 From: cs-308-2023 Date: Mon, 27 Jan 2025 21:22:28 +0530 Subject: [PATCH] Simplify input Signed-off-by: cs-308-2023 --- packages/plexus/src/zoom/MiniMap.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/plexus/src/zoom/MiniMap.tsx b/packages/plexus/src/zoom/MiniMap.tsx index 9f34bffc04..e3ee963327 100644 --- a/packages/plexus/src/zoom/MiniMap.tsx +++ b/packages/plexus/src/zoom/MiniMap.tsx @@ -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}`,