mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-08-29 10:43:56 +00:00
Fix message in timeline for panning
This commit is contained in:
@@ -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() {
|
||||
@@ -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",
|
||||
}),
|
||||
},
|
||||
]);
|
||||
|
Reference in New Issue
Block a user