{children}
diff --git a/apps/web/src/components/ui/report/elements/AIChatEditor.tsx b/apps/web/src/components/ui/report/elements/AIChatEditor.tsx
index 7a4ebcdbf..1594de19e 100644
--- a/apps/web/src/components/ui/report/elements/AIChatEditor.tsx
+++ b/apps/web/src/components/ui/report/elements/AIChatEditor.tsx
@@ -6,7 +6,7 @@ import { useAIChatEditor } from '@platejs/ai/react';
import { usePlateEditor } from 'platejs/react';
import { BaseEditorKit } from '../editor-base-kit';
-import { EditorStatic } from '../EditorStatic';
+import { EditorStatic } from './EditorStatic';
export const AIChatEditor = React.memo(function AIChatEditor({ content }: { content: string }) {
const aiEditor = usePlateEditor({
diff --git a/apps/web/src/components/ui/report/plugins/metric-plugin/metric-plugin.tsx b/apps/web/src/components/ui/report/plugins/metric-plugin/metric-plugin.tsx
index 9c6d90849..3a11d62b8 100644
--- a/apps/web/src/components/ui/report/plugins/metric-plugin/metric-plugin.tsx
+++ b/apps/web/src/components/ui/report/plugins/metric-plugin/metric-plugin.tsx
@@ -45,7 +45,6 @@ export const MetricPlugin = createPlatePlugin<
},
updateMetric: (metricId: string, options?: SetNodesOptions
) => {
tf.setNodes({ metricId }, options);
- console.log('updated metric', metricId);
}
};
})
diff --git a/apps/web/src/controllers/ReportPageControllers/ReportPageController/ReportPageController.tsx b/apps/web/src/controllers/ReportPageControllers/ReportPageController/ReportPageController.tsx
index 8b4602651..8c6057813 100644
--- a/apps/web/src/controllers/ReportPageControllers/ReportPageController/ReportPageController.tsx
+++ b/apps/web/src/controllers/ReportPageControllers/ReportPageController/ReportPageController.tsx
@@ -8,7 +8,7 @@ import { useMemoizedFn } from '@/hooks/useMemoizedFn';
import { useDebounceFn } from '@/hooks/useDebounce';
import type { ReportElements } from '@buster/server-shared/reports';
import DynamicReportEditor from '@/components/ui/report/DynamicReportEditor';
-import type { AppReportRef, IReportEditor } from '@/components/ui/report/ReportEditor';
+import { ReportEditor, type AppReportRef } from '@/components/ui/report/ReportEditor';
export const ReportPageController: React.FC<{
reportId: string;
@@ -33,19 +33,19 @@ export const ReportPageController: React.FC<{
});
return (
-
+
-
);
diff --git a/apps/web/src/controllers/ReportPageControllers/ReportPageController/ReportPageHeader.tsx b/apps/web/src/controllers/ReportPageControllers/ReportPageController/ReportPageHeader.tsx
index e66cf7909..6d4cad076 100644
--- a/apps/web/src/controllers/ReportPageControllers/ReportPageController/ReportPageHeader.tsx
+++ b/apps/web/src/controllers/ReportPageControllers/ReportPageController/ReportPageHeader.tsx
@@ -25,8 +25,10 @@ export const ReportPageHeader = React.forwardRef<
{name}
-
- {updatedAtFormatted} • {DEFAULT_CREATED_BY}
+
+ {updatedAtFormatted}
+ •
+ {DEFAULT_CREATED_BY}
);
diff --git a/apps/web/src/lib/url.ts b/apps/web/src/lib/url.ts
index 4cde3a4e6..e8cd5fda4 100644
--- a/apps/web/src/lib/url.ts
+++ b/apps/web/src/lib/url.ts
@@ -20,9 +20,7 @@ const ACCEPTED_DOMAINS = [
*/
export function isUrlFromAcceptedDomain(url: string): boolean {
try {
- console.log('url', url);
const parsedUrl = new URL(url);
- console.log('parsedUrl', parsedUrl);
return ACCEPTED_DOMAINS.some((accepted) => {
try {
// If accepted is a full URL, compare origins