Skip to content

Commit 80b47d7

Browse files
committed
fixup! fix: rewrite coordinate management
... and import the one that should be used instead
1 parent 9d215f1 commit 80b47d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/EditorCanvas/Canvas.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
} from "../../hooks";
2323
import { useTranslation } from "react-i18next";
2424
import { diagram } from "../../data/heroDiagram";
25-
import { useCanvasContextProviderValue } from "../../context/CanvasContext";
25+
import { CanvasContext, useCanvasContextProviderValue } from "../../context/CanvasContext";
2626
import { useEventListener } from "usehooks-ts";
2727

2828
export default function Canvas() {

0 commit comments

Comments
 (0)