From d184fbaeeddb86d11415096495f6ca65a80e2767 Mon Sep 17 00:00:00 2001 From: Nabarun Date: Thu, 7 Nov 2024 13:22:22 +0530 Subject: [PATCH] Remove console log project from frontend --- packages/frontend/src/components/projects/create/IFrame.tsx | 1 + .../frontend/src/pages/org-slug/projects/id/settings/General.tsx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/projects/create/IFrame.tsx b/packages/frontend/src/components/projects/create/IFrame.tsx index 1d30010b..271e72b0 100644 --- a/packages/frontend/src/components/projects/create/IFrame.tsx +++ b/packages/frontend/src/components/projects/create/IFrame.tsx @@ -15,6 +15,7 @@ const IFrame = ({ }) => { useEffect(() => { const handleMessage = (event: MessageEvent) => { + // TODO: Use env for origin URL if (event.origin !== 'http://localhost:3001') return; if (event.data.type === 'WALLET_ACCOUNTS_DATA') { diff --git a/packages/frontend/src/pages/org-slug/projects/id/settings/General.tsx b/packages/frontend/src/pages/org-slug/projects/id/settings/General.tsx index 4b886151..7a257d8d 100644 --- a/packages/frontend/src/pages/org-slug/projects/id/settings/General.tsx +++ b/packages/frontend/src/pages/org-slug/projects/id/settings/General.tsx @@ -18,7 +18,6 @@ const GeneralTabPanel = () => { const client = useGQLClient(); const { toast } = useToast(); const { project, onUpdate } = useOutletContext(); - console.log(project); const [transferOrganizations, setTransferOrganizations] = useState< SelectOption[]