refactor: simplify DesignerPreview component by removing unused props and events

This commit is contained in:
Frank John Begornia
2025-11-20 21:26:22 +08:00
parent fa0d501063
commit 1dd8493689
3 changed files with 10 additions and 121 deletions

View File

@@ -322,8 +322,6 @@ export const useSlipmatDesigner = () => {
instance.on(eventName, handleMutation);
});
instance.on("after:render", () => schedulePreviewRefresh());
const selectionEvents = [
"selection:created",
"selection:updated",