Skip to content

Commit 59d4c6b

Browse files
committed
chore: use already imported function
1 parent 7b9a5a8 commit 59d4c6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Sector.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ const props = withDefaults(
4747
);
4848
4949
const { invScale } = useGraphContext();
50-
const matrix = useLocalToWorld(toRef(props, "position"));
51-
const { color, fill } = toRefs(props);
50+
const { color, fill, position: positionProp } = toRefs(props);
51+
const matrix = useLocalToWorld(positionProp);
5252
const { parseColor } = useColors();
5353
const active = defineModel("active", { default: false });
5454
usePointerIntersection(active, (point) => {

0 commit comments

Comments
 (0)