From 3a1f133b21110e7f4240e1bcb17d245f7a8b9f32 Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Mon, 10 Nov 2025 14:04:57 -0500 Subject: [PATCH] remove logs --- components/ActionBar/Navigation.tsx | 1 - components/Blocks/PublicationPollBlock.tsx | 2 -- components/PageLayouts/DashboardLayout.tsx | 4 ---- 3 files changed, 7 deletions(-) diff --git a/components/ActionBar/Navigation.tsx b/components/ActionBar/Navigation.tsx index 5f8b8a50..bf370238 100644 --- a/components/ActionBar/Navigation.tsx +++ b/components/ActionBar/Navigation.tsx @@ -192,7 +192,6 @@ export function NotificationButton(props: { current?: boolean }) { { if (open) { - console.log(open); await markAsRead(); mutate(); } diff --git a/components/Blocks/PublicationPollBlock.tsx b/components/Blocks/PublicationPollBlock.tsx index 6cdf6023..e69a3116 100644 --- a/components/Blocks/PublicationPollBlock.tsx +++ b/components/Blocks/PublicationPollBlock.tsx @@ -31,7 +31,6 @@ export const PublicationPollBlock = (props: BlockProps) => { const docRecord = publicationData.documents .data as PubLeafletDocument.Record; - console.log(docRecord); // Search through all pages and blocks to find if this poll entity has been published for (const page of docRecord.pages || []) { @@ -40,7 +39,6 @@ export const PublicationPollBlock = (props: BlockProps) => { for (const blockWrapper of linearPage.blocks || []) { if (blockWrapper.block?.$type === ids.PubLeafletBlocksPoll) { const pollBlock = blockWrapper.block as PubLeafletBlocksPoll.Main; - console.log(pollBlock); // Check if this poll's rkey matches our entity ID const rkey = pollBlock.pollRef.uri.split("/").pop(); if (rkey === props.entityID) { diff --git a/components/PageLayouts/DashboardLayout.tsx b/components/PageLayouts/DashboardLayout.tsx index 530882be..bd4af481 100644 --- a/components/PageLayouts/DashboardLayout.tsx +++ b/components/PageLayouts/DashboardLayout.tsx @@ -51,7 +51,6 @@ const defaultDashboardState: DashboardState = { export const useDashboardStore = create((set, get) => ({ dashboards: {}, setDashboard: (id: string, partial: Partial) => { - console.log(partial); set((state) => ({ dashboards: { ...state.dashboards, @@ -259,12 +258,10 @@ export const HomeDashboardControls = (props: { hasTemplates: boolean; }) => { let { display, sort } = useDashboardState(); - console.log({ display, props }); display = display || props.defaultDisplay; let setState = useSetDashboardState(); let { identity } = useIdentityData(); - console.log(props); return (
@@ -303,7 +300,6 @@ export const PublicationDashboardControls = (props: { defaultDisplay: Exclude; }) => { let { display, sort } = useDashboardState(); - console.log({ display, props }); display = display || props.defaultDisplay; let setState = useSetDashboardState(); return ( -- 2.51.2