diff --git a/apps/web/src/components/ui/grid/SortableItemContext.tsx b/apps/web/src/components/ui/grid/SortableItemContext.tsx index 463bef3b0..a56ba7b18 100644 --- a/apps/web/src/components/ui/grid/SortableItemContext.tsx +++ b/apps/web/src/components/ui/grid/SortableItemContext.tsx @@ -1,5 +1,5 @@ import type { DraggableAttributes, DraggableSyntheticListeners } from '@dnd-kit/core'; -import { createContext } from 'react'; +import { createContext } from 'react'; interface Context { attributes: DraggableAttributes; diff --git a/apps/web/src/components/ui/report/plugins/metric-plugin/insert-metric.ts b/apps/web/src/components/ui/report/plugins/metric-plugin/insert-metric.ts index 6f3af99e6..2020a0b3f 100644 --- a/apps/web/src/components/ui/report/plugins/metric-plugin/insert-metric.ts +++ b/apps/web/src/components/ui/report/plugins/metric-plugin/insert-metric.ts @@ -18,7 +18,6 @@ export const insertMetric = (editor: PlateEditor, options?: InsertNodesOptions) // Small timeout to ensure the node is properly inserted and rendered setTimeout(() => { const plugin = editor.getPlugin(MetricPlugin); - console.log(plugin.api); plugin.api.metric.openAddMetricModal(); }, 50); };