Skip to content

Commit

Permalink
Fix message in timeline for panning
Browse files Browse the repository at this point in the history
  • Loading branch information
1ilit committed Jul 22, 2024
1 parent faf4b15 commit 16b2d30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/EditorCanvas/Canvas.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import {
useLayout,
} from "../../hooks";
import { useTranslation } from "react-i18next";
import { diagram } from "../../data/heroDiagram";
import { useEventListener } from "usehooks-ts";

export default function Canvas() {
Expand Down Expand Up @@ -340,7 +339,7 @@ export default function Canvas() {
redo: transform.pan,
message: t("move_element", {
coords: `(${transform?.pan.x}, ${transform?.pan.y})`,
name: diagram,
name: "diagram",
}),
},
]);
Expand Down

0 comments on commit 16b2d30

Please sign in to comment.