From 26bd16a2cba2c556cfee379aa94e1ecc537aed17 Mon Sep 17 00:00:00 2001 From: Karuna Tata Date: Fri, 6 Jun 2025 00:16:08 +0530 Subject: [PATCH] fix: favicon when workspace icon is removed (#12451) closes #12304 --- .../page-favicon/components/PageFavicon.tsx | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/twenty-front/src/modules/ui/utilities/page-favicon/components/PageFavicon.tsx b/packages/twenty-front/src/modules/ui/utilities/page-favicon/components/PageFavicon.tsx index cdfedce24..aad5804ff 100644 --- a/packages/twenty-front/src/modules/ui/utilities/page-favicon/components/PageFavicon.tsx +++ b/packages/twenty-front/src/modules/ui/utilities/page-favicon/components/PageFavicon.tsx @@ -2,25 +2,25 @@ import { workspacePublicDataState } from '@/auth/states/workspacePublicDataState import { DEFAULT_WORKSPACE_LOGO } from '@/ui/navigation/navigation-drawer/constants/DefaultWorkspaceLogo'; import { Helmet } from 'react-helmet-async'; import { useRecoilValue } from 'recoil'; -import { REACT_APP_SERVER_BASE_URL } from '~/config'; import { getImageAbsoluteURI } from 'twenty-shared/utils'; +import { REACT_APP_SERVER_BASE_URL } from '~/config'; export const PageFavicon = () => { const workspacePublicData = useRecoilValue(workspacePublicDataState); return ( - {workspacePublicData?.logo && ( - - )} + ); };