From dbd24452b1d6794870e962da35324d575fa39d9c Mon Sep 17 00:00:00 2001 From: Manzoor Wani Date: Fri, 13 Dec 2024 15:35:14 +0530 Subject: [PATCH] Remove unused code --- .../publicize-components/src/utils/connections.ts | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 projects/js-packages/publicize-components/src/utils/connections.ts diff --git a/projects/js-packages/publicize-components/src/utils/connections.ts b/projects/js-packages/publicize-components/src/utils/connections.ts deleted file mode 100644 index 5ca5e3daf8266..0000000000000 --- a/projects/js-packages/publicize-components/src/utils/connections.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Connection } from '../social-store/types'; - -export const checkConnectionCode = ( connection: Connection, code: string ) => { - return false === connection.is_healthy && code === ( connection.error_code ?? 'broken' ); -};