Skip to content

Commit

Permalink
chore: use already imported function
Browse files Browse the repository at this point in the history
  • Loading branch information
ksassnowski committed Aug 22, 2024
1 parent 7b9a5a8 commit 59d4c6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Sector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ const props = withDefaults(
);
const { invScale } = useGraphContext();
const matrix = useLocalToWorld(toRef(props, "position"));
const { color, fill } = toRefs(props);
const { color, fill, position: positionProp } = toRefs(props);
const matrix = useLocalToWorld(positionProp);
const { parseColor } = useColors();
const active = defineModel("active", { default: false });
usePointerIntersection(active, (point) => {
Expand Down

0 comments on commit 59d4c6b

Please sign in to comment.